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

LOAD CSV WITH HEADERS from empty file #9183

Merged
merged 1 commit into from Apr 11, 2017

Conversation

pontusmelke
Copy link
Contributor

@pontusmelke pontusmelke commented Apr 10, 2017

When calling LOAD CSV WITH HEADERS FROM $url where $url is an empty
file we should not fail with a
java.util.NoSuchElementException: next on empty iterator but handle
it gracefully.

Note that the failing docs build is expected and is true for all 2.3 builds

changelog: Fixed an unnecessary error when loading an empty file using LOAD CSV WITH HEADERS

When calling `LOAD CSV WITH HEADERS FROM $url` where `$url` is an empty
file we should not fail with a
`java.util.NoSuchElementException: next on empty iterator` but handle
it gracefully.
@pontusmelke
Copy link
Contributor Author

fixes #9130

@pontusmelke pontusmelke changed the title LOAD CSV WITH HEADERS with empty file LOAD CSV WITH HEADERS from empty file Apr 10, 2017
@systay systay self-assigned this Apr 11, 2017
@systay systay merged commit 5d3dbe0 into neo4j:2.3 Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants