Skip to content

Commit 79c7dcb

Browse files
authored
Backport extended header support for Parquet docs (#3152)
2 parents a190d56 + 0e1a7d1 commit 79c7dcb

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,21 @@ For example, you can use `uuid:ID(Person){label:Person}`, where the relationship
12021202
* For examples of creating property uniqueness constraints, see link:{neo4j-docs-base-uri}/cypher-manual/5/constraints/managing-constraints/#create-property-uniqueness-constraints[Cypher Manual -> Create property uniqueness constraints].
12031203
====
12041204

1205+
[role=label--new-5.26]
1206+
=== Extended header support for Parquet
1207+
1208+
In addition to the header format supported by the CSV import, the Parquet import supports name-mapping header files.
1209+
Those files contain two rows of entries, where the first row represents the name (incl. optional type, id group, etc.), and the second row references the name of the original columns in the data files.
1210+
1211+
.movie_header.csv
1212+
[source, csv]
1213+
----
1214+
movieId:ID,title,year:int,:LABEL
1215+
id,movie_title,year,label
1216+
----
1217+
1218+
If a header file is provided for a set of labels or a relationship type, the importer will ignore columns not mentioned in the headers.
1219+
12051220
[[import-tool-header-format-nodes]]
12061221
== Node files
12071222

0 commit comments

Comments
 (0)