Skip to content

Commit e9b37ae

Browse files
committed
Add section about Parquet header in admin import.
1 parent 1032966 commit e9b37ae

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,21 @@ For example, you can use `uuid:ID(Person){label:Person}`, where the relationship
10141014
* 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].
10151015
====
10161016

1017+
=== Extended header support for Parquet
1018+
1019+
In addition to the header format supported by the CSV import, the Parquet import supports name-mapping header files.
1020+
Those files contain two rows of entries, where the first row represents the name (incl. optional type, id group, etc.)
1021+
and the second row referencing the name of the original columns in the data files.
1022+
1023+
.movie_header.csv
1024+
[source, csv]
1025+
----
1026+
movieId:ID,title,year:int,:LABEL
1027+
id,movie_title,year,label
1028+
----
1029+
1030+
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.
1031+
10171032
[[import-tool-header-format-nodes]]
10181033
== Node files
10191034

0 commit comments

Comments
 (0)