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

The apoc.import.csv skipLines config doesn't work correctly #2932

Closed
vga91 opened this issue May 24, 2022 · 0 comments · Fixed by #2984
Closed

The apoc.import.csv skipLines config doesn't work correctly #2932

vga91 opened this issue May 24, 2022 · 0 comments · Fixed by #2984

Comments

@vga91
Copy link
Collaborator

vga91 commented May 24, 2022

Expected Behavior (Mandatory)

Should skip the lines.

Actual Behavior (Mandatory)

  • ClassCastException or doesn't skip nothing

How to Reproduce the Problem

By executing any valid csv using skipLines:

call apoc.import.csv([{fileName: 'test.csv', labels: ["LabelTest"]}], [], {skipLines: 3})

a ClassCastException will be throw.

Even forcing skipLines as an integer, e.g. via GraphDatabaseAPI, the skip doesn't work.

Versions

  • OS: MacOs
  • Neo4j: 4.4.5
  • Neo4j-Apoc: 4.4.0.5
@vga91 vga91 changed the title The apoc.import.csv config skipLines doesn't work correctly The apoc.import.csv skipLines config doesn't work correctly May 24, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jun 15, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jun 24, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jun 24, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jun 29, 2022
vga91 added a commit that referenced this issue Jul 5, 2022
vga91 added a commit that referenced this issue Jul 5, 2022
gem-neo4j pushed a commit to gem-neo4j/neo4j-apoc-procedures that referenced this issue Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant