Skip to content

Commit 7a929ec

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

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
@@ -1288,6 +1288,12 @@ A different delimiter can be specified with `--array-delimiter`.
12881288
Arrays are not affected by the `--normalize-types` flag.
12891289
For example, if you want a byte array to be stored as a Cypher long array, you must explicitly declare the property as `long[]`.
12901290

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

0 commit comments

Comments
 (0)