docs: correct MxDataType default-table labels and note non-negative sparse indices

Fix the MxSparseArray type-defaults table in gateway.md to use the real MxDataType
enum member names (Integer, not Integer/LongInteger; Time, not Time/Timestamp) and
clarify the int64 note. Add a docstring sentence to write_array_elements in the
Python client noting that indices and total_length must be non-negative.
This commit is contained in:
Joseph Doherty
2026-06-18 03:12:56 -04:00
parent f0ef7ea0a8
commit 437d29f19e
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -512,10 +512,10 @@ Default values by element type:
| Element type | Default |
|---|---|
| `Boolean` | `false` |
| `Integer` / `LongInteger` | `0` |
| `Integer` | `0` (int32, or int64 when an element value is 64-bit) |
| `Float` / `Double` | `0` |
| `String` | `""` |
| `Time` / `Timestamp` | Unix epoch (1970-01-01T00:00:00Z) |
| `Time` | Unix epoch (1970-01-01T00:00:00Z) |
Unmentioned indices take the element type's default — this is a **reset**, not a
preserve. There is no read-modify-write merge: adding that would introduce cache