Skip to content

Commit afe1b1c

Browse files
Add section about Parquet header in admin import. (#2134)
Docs addition for admin import. The feature will be get merged into the dev branch today. --------- Co-authored-by: Reneta Popova <[email protected]>
1 parent 418b834 commit afe1b1c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

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

981+
=== Extended header support for Parquet
982+
983+
In addition to the header format supported by the CSV import, the Parquet import supports name-mapping header files.
984+
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.
985+
986+
.movie_header.csv
987+
[source, csv]
988+
----
989+
movieId:ID,title,year:int,:LABEL
990+
id,movie_title,year,label
991+
----
992+
993+
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.
994+
981995
[[import-tool-header-format-nodes]]
982996
== Node files
983997

0 commit comments

Comments
 (0)