From 43e67e401e115c3fcedae421b1fcf6c9fbd77a53 Mon Sep 17 00:00:00 2001 From: Gerrit Meier Date: Tue, 3 Jun 2025 17:28:28 +0200 Subject: [PATCH 1/3] Add note about list import and differences by type. Clarify that CSV imports empty lists as null whereas Parquet handles empty as empty. --- modules/ROOT/pages/import.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ROOT/pages/import.adoc b/modules/ROOT/pages/import.adoc index 33951d718..4985f6184 100644 --- a/modules/ROOT/pages/import.adoc +++ b/modules/ROOT/pages/import.adoc @@ -1288,6 +1288,12 @@ A different delimiter can be specified with `--array-delimiter`. Arrays are not affected by the `--normalize-types` flag. For example, if you want a byte array to be stored as a Cypher long array, you must explicitly declare the property as `long[]`. +[NOTE] +==== +CSV based import will not import empty arrays, because they cannot be distinguished from arrays that are set to `null`. +The Parquet import distinguishes between them, and will import empty arrays as empty arrays and `null` as `null`. +==== + Boolean values are _true_ if they match exactly the text `true`. All other values are _false_. 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. From 7e3fdf058ca3120b3901785b8afd951c0547f27e Mon Sep 17 00:00:00 2001 From: Gerrit Meier Date: Wed, 4 Jun 2025 13:19:33 +0200 Subject: [PATCH 2/3] Update modules/ROOT/pages/import.adoc Co-authored-by: Reneta Popova --- modules/ROOT/pages/import.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/import.adoc b/modules/ROOT/pages/import.adoc index 4985f6184..95bcb3131 100644 --- a/modules/ROOT/pages/import.adoc +++ b/modules/ROOT/pages/import.adoc @@ -1290,7 +1290,7 @@ For example, if you want a byte array to be stored as a Cypher long array, you m [NOTE] ==== -CSV based import will not import empty arrays, because they cannot be distinguished from arrays that are set to `null`. +CSV-based import does not import empty arrays, because they cannot be distinguished from arrays that are set to `null`. The Parquet import distinguishes between them, and will import empty arrays as empty arrays and `null` as `null`. ==== From 34cd64154e2440134d5cdff329d9bdb484fd6fd7 Mon Sep 17 00:00:00 2001 From: Gerrit Meier Date: Wed, 4 Jun 2025 13:19:41 +0200 Subject: [PATCH 3/3] Update modules/ROOT/pages/import.adoc Co-authored-by: Reneta Popova --- modules/ROOT/pages/import.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/import.adoc b/modules/ROOT/pages/import.adoc index 95bcb3131..a600007c9 100644 --- a/modules/ROOT/pages/import.adoc +++ b/modules/ROOT/pages/import.adoc @@ -1291,7 +1291,7 @@ For example, if you want a byte array to be stored as a Cypher long array, you m [NOTE] ==== CSV-based import does not import empty arrays, because they cannot be distinguished from arrays that are set to `null`. -The Parquet import distinguishes between them, and will import empty arrays as empty arrays and `null` as `null`. +However, the Parquet import distinguishes between them and will import empty arrays as empty arrays and `null` as `null`. ==== Boolean values are _true_ if they match exactly the text `true`. All other values are _false_.