-
Notifications
You must be signed in to change notification settings - Fork 25k
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
csv processor can't parse empty_value option #55643
Labels
Comments
martijnvg
added
>bug
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
labels
Apr 23, 2020
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
martijnvg
changed the title
csv processor can't part empty_value option
csv processor can't parse empty_value option
Apr 23, 2020
russcam
added a commit
to elastic/elasticsearch-net
that referenced
this issue
Apr 23, 2020
Relates: elastic/elasticsearch#55643 Mute CsvProcessor tests, until upstream bug is fixed.
probakowski
added a commit
to probakowski/elasticsearch
that referenced
this issue
Apr 23, 2020
Due to bug in `CsvProcessor.Factory` it was impossible to specify `empty_value`. This change fixes that and adds relevant test. Closes elastic#55643
Mpdreamz
pushed a commit
to elastic/elasticsearch-net
that referenced
this issue
Apr 23, 2020
Relates: elastic/elasticsearch#55643 Mute CsvProcessor tests, until upstream bug is fixed.
Mpdreamz
pushed a commit
to elastic/elasticsearch-net
that referenced
this issue
Apr 23, 2020
Relates: elastic/elasticsearch#55643 Mute CsvProcessor tests, until upstream bug is fixed. (cherry picked from commit 2214855)
Mpdreamz
pushed a commit
to elastic/elasticsearch-net
that referenced
this issue
Apr 23, 2020
Relates: elastic/elasticsearch#55643 Mute CsvProcessor tests, until upstream bug is fixed. (cherry picked from commit 2214855) (cherry picked from commit 4d67fd9)
probakowski
added a commit
that referenced
this issue
Apr 29, 2020
* Fix empty_value handling in CsvProcessor Due to bug in `CsvProcessor.Factory` it was impossible to specify `empty_value`. This change fixes that and adds relevant test. Closes #55643 * assert changed
probakowski
added a commit
to probakowski/elasticsearch
that referenced
this issue
Apr 29, 2020
* Fix empty_value handling in CsvProcessor Due to bug in `CsvProcessor.Factory` it was impossible to specify `empty_value`. This change fixes that and adds relevant test. Closes elastic#55643 * assert changed
probakowski
added a commit
to probakowski/elasticsearch
that referenced
this issue
Apr 29, 2020
* Fix empty_value handling in CsvProcessor Due to bug in `CsvProcessor.Factory` it was impossible to specify `empty_value`. This change fixes that and adds relevant test. Closes elastic#55643 * assert changed
probakowski
added a commit
that referenced
this issue
Apr 29, 2020
probakowski
added a commit
that referenced
this issue
Apr 29, 2020
17 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The following put pipeline call fails:
With:
However
empty_value
is a valid option.This is caused by a bug in the processor parsing code:
https://github.com/elastic/elasticsearch/blob/master/modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/CsvProcessor.java#L104
It checks for the existence of
emptyValue
field and then tries to parse it asempty_value
field. So even if this option is specified in both ways it can never be parsed.This bug was found in elastic/elasticsearch-net#4652
The text was updated successfully, but these errors were encountered: