apoc.load.arrow
In APOC 2025.06, this procedure was migrated to the unsupported APOC Extended library. This means that if you are using APOC 2025.06 or later, the procedure is not available in Cypher 25 but can still be used with Cypher 5. For more information, see APOC and Cypher versions. |
Syntax |
|
||
Description |
Imports |
||
Input arguments |
Name |
Type |
Description |
|
|
The name of the file to import data from. |
|
|
|
This value is never used. The default is: |
|
Return arguments |
Name |
Type |
Description |
|
|
A map of data loaded from the given file. |
Usage Examples
Given an arrow file named test.arrow
that contains people and their properties:
test.arrow
name,age,beverage Selma,9,Soda Rana,12,Tea,Milk Selina,19,Cola
We’ll place this file into the import
directory of our Neo4j instance.
We can load this file and return the contents by running the following query:
CALL apoc.load.arrow('test.arrow') YIELD value
RETURN value;
value |
---|
{name: "Selma", age: "9", beverage: "Soda"} |
{name: "Rana", age: "12", beverage: "Tea;Milk"} |
{name: "Selina", age: "19", beverage: "Cola"} |