github apoc.export.csv() Includes Spaces
rsriprac opened this issue · comments
Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.
Expected Behavior (Mandatory)
apoc.export.csv.query() should export CSV without spaces after comma, various tools will break since it does not expect whitespaces between comma and the start of quoted field.
Actual Behavior (Mandatory)
apoc.export.csv.query() adds a space after the comma in CSV output.
How to Reproduce the Problem
Make call to apoc.export.csv.query() to output a query and you'll see that there's a space after the comma in CSV output.
Simple Dataset (where it's possibile)
//Insert here a set of Cypher statements that helps us to reproduce the problem
Steps (Mandatory)
- Make call to apoc.export.csv.query()
- View CSV output
Screenshots (where it's possibile)
Specifications (Mandatory)
Currently used versions: 5.6.0, complied from source. Ran on CentOS 9.
Versions
- OS: CentOS 9
- Neo4j: 5.6.0
- Neo4j-Apoc: 5.6.0 from source
I realized that it was output from cypher-shell
and not apoc.export.csv()