neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            

Home Page:https://neo4j.com/labs/apoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

  1. Make call to apoc.export.csv.query()
  2. 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()