sandra
sandra

Reputation: 59

neo4j SOH character as delimiter is supported?

I have a csv that has as delimiter SOH character does neo4j import tool support this character ? through load csv i succeded to with fieldterminator '.' in browser

Upvotes: 1

Views: 148

Answers (1)

stdob--
stdob--

Reputation: 29147

Yes, it possible - you need use escape sequence of SOH character:

LOAD CSV FROM "file:///soh.csv" as row FIELDTERMINATOR "\u0001"
RETURN row

For command line:

String expression can be normal characters as well as for example: '\t', '\123', and "TAB".

../bin/neo4j-import --into ./db/ --nodes soh.csv --delimiter "\0001"

Upvotes: 1

Related Questions