Skip to content

Commit 7ea1b7d

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/ROOT/pages/import.adoc

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

1292+
[NOTE]
1293+
====
1294+
CSV-based import does not import empty arrays, because they cannot be distinguished from arrays that are set to `null`.
1295+
However, the Parquet import distinguishes between them and will import empty arrays as empty arrays and `null` as `null`.
1296+
====
1297+
12921298
Boolean values are _true_ if they match exactly the text `true`. All other values are _false_.
12931299
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.
12941300

0 commit comments

Comments
 (0)