apoc.load.arrow.stream
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 data to load. |
|
|
|
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 byte[] contains people and their properties:
test.arrow
name,age,beverage Selma,9,Soda Rana,12,Tea,Milk Selina,19,Cola
We’ll provide a full roundtrip example where we use the apoc.export.arrow.stream.all
in order to generate the arrow byte[]
CALL apoc.export.arrow.stream.all() YIELD value AS byteArray
CALL apoc.load.arrow.stream(byteArray) YIELD value
RETURN value
value |
---|
{name: "Selma", age: "9", beverage: "Soda"} |
{name: "Rana", age: "12", beverage: "Tea;Milk"} |
{name: "Selina", age: "19", beverage: "Cola"} |