Skip to content

Commit 450ffaf

Browse files
Explain list handling differences between Parquet and CSV (neo4j#2395) (neo4j#2408)
Clarify that CSV imports empty lists as null whereas Parquet handles empty as empty. --------- Co-authored-by: Gerrit Meier <[email protected]>
1 parent a12c59d commit 450ffaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,12 @@ A different delimiter can be specified with `--array-delimiter`.
11481148
Arrays are not affected by the `--normalize-types` flag.
11491149
For example, if you want a byte array to be stored as a Cypher long array, you must explicitly declare the property as `long[]`.
11501150

1151+
[NOTE]
1152+
====
1153+
CSV-based import does not import empty arrays, because they cannot be distinguished from arrays that are set to `null`.
1154+
However, the Parquet import distinguishes between them and will import empty arrays as empty arrays and `null` as `null`.
1155+
====
1156+
11511157
Boolean values are _true_ if they match exactly the text `true`. All other values are _false_.
11521158
Values that contain the delimiter character need to be escaped by enclosing in double quotation marks, or by using a different delimiter character with the `--delimiter` option.
11531159

0 commit comments

Comments
 (0)