We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
skip
{skip: 1}
{skip: 1, limit: 1}
{skip: -1}
lineNo
-1
name Selma Rana Selina Sam Fred
CALL apoc.load.csv('file:///test.csv', {skip: 1}) YIELD map RETURN *
╒═════════════════╕ │"map" │ ╞═════════════════╡ │{"name":"Rana"} │ ├─────────────────┤ │{"name":"Sam"} │ └─────────────────┘
but actually returns nothing.
The text was updated successfully, but these errors were encountered:
apoc-4.0.0.11-all.jar.zip
Hi @cybersam thanks a lot for reaching us, can you please try with the jar above? Please unzip it into the plugins dir. Thanks a lot
Sorry, something went wrong.
fixes neo4j-contrib#1505: apoc.load.csv does not skip properly
fca32f8
fixes #1505: apoc.load.csv does not skip properly (#1506)
cd12582
88bd584
conker84
Successfully merging a pull request may close this issue.
Expected Behavior (Mandatory)
skip
option should produce proper results. For example,{skip: 1}
should return data for every other CSV file line.Actual Behavior (Mandatory)
{skip: 1}
produces no results. So, there is no way to get every other line from the file.{skip: 1, limit: 1}
does return just the second data line, as expected.{skip: -1}
returns every line, but with a startinglineNo
of-1
.How to Reproduce the Problem
Simple Dataset (where it's possibile)
Steps (Mandatory)
CALL apoc.load.csv('file:///test.csv', {skip: 1}) YIELD map RETURN *
should produce this result:but actually returns nothing.
Versions
The text was updated successfully, but these errors were encountered: