You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user_guide/data_types.rst
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,15 +188,14 @@ and `Arrow DataTypes <https://arrow.apache.org/docs/format/Columnar.html#data-ty
188
188
189
189
* - ``MAP<kt, vt>``
190
190
- Map
191
-
- Data type of an associative array that maps keys to values (including NULL). A map cannot contain duplicate keys; each key can map to at most one value.
191
+
- Data type of an associative array that maps keys (including NULL) to values (including NULL). A map cannot contain duplicate keys; each key can map to at most one value.
192
192
193
193
There is no restriction of element types; it is the responsibility of the user to ensure uniqueness.
194
194
195
195
The type can be declared using ``MAP<kt, vt>`` where kt is the data type of the key elements and vt is the data type of the value elements.
196
196
197
-
**Note:** In Paimon C++, map keys must be explicitly marked as ``NOT NULL``.
198
-
Apache Arrow does not support nullable map keys. If the key type is not
199
-
marked as ``NOT NULL`` in the schema, parsing will fail with an error.
197
+
**Note:** Paimon C++ accepts nullable map key declarations for schema compatibility.
198
+
A query fails only if the data actually contains a NULL map key.
0 commit comments