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

Add support for selecting empty string as null #16

Open
SashaKalko opened this issue Oct 26, 2016 · 1 comment
Open

Add support for selecting empty string as null #16

SashaKalko opened this issue Oct 26, 2016 · 1 comment

Comments

@SashaKalko
Copy link

When we have an empty string in csv, and this field is date type in elastic search 1.7 we get an exception from ES :
([{u'create': {u'status': 400, u'_type': u'csv_type', u'_id': u'AVgBSdxaLywLgoALVw4Q', u'error': u'MapperParsingException[failed to parse [ticket_metrics_created_at_hour]]; nested: MapperParsingException[failed to parse date field [], tried both date format [YYYY-MM-DD HH:mm:ss], and timestamp number with locale []]; nested: IllegalArgumentException[Invalid format: ""]; ', u'_index': u'test_0_delete'}}

@jaune-rouge
Copy link

jaune-rouge commented Jun 16, 2017

elasticsearch 5.4 still an issue
I set ignore_malformed to true

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

No branches or pull requests

2 participants