Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data format discrepancy with and without using the option bulkImport: true #577

Open
smallcat9603 opened this issue Jan 25, 2024 · 1 comment

Comments

@smallcat9603
Copy link

I used apoc.export.csv.all() to export the graph data to local CSV files, but I found the data format discrepancy with and without using the option bulkImport: true. When not using bulkImport: true, the node properties are saved in an all-in-one CSV file, e.g, a string list ["a", "b", "c"]. When using bulkImport: true, the node properties are saved to multiple CSV files categorized by node labels. But in this case the string list becomes [a, b, c]. The quotes disappeared. This will introduce errors when directly using apoc.import.csv() to read data from these CSV files.

It seems that apoc.import.csv() works well with the data generated by apoc.export.csv.all() with the option bulkImport: true, except for the quote issue in the CSV files.

@loveleif
Copy link
Contributor

Thanks for reporting this @smallcat9603 and sorry for the inconvenience! I agree, this looks wrong. I have created a ticket in our internal bug tracker. We'll get back here with more information when it has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants