Skip to content

Create ISO8601 joda compatible java time formatter#38434

Merged
spinscale merged 6 commits intoelastic:masterfrom
spinscale:1902-add-iso8601-formatter
Feb 11, 2019
Merged

Create ISO8601 joda compatible java time formatter#38434
spinscale merged 6 commits intoelastic:masterfrom
spinscale:1902-add-iso8601-formatter

Conversation

@spinscale
Copy link
Copy Markdown
Contributor

The existing formatter being used was not on par with the joda formatter
as it was missing the ability to parse a comma as a separator between
seconds and milliseconds.

While a real iso8601 would be much more complex, this might be
sufficient for some more use-cases.

The ingest date formatter now also uses the iso8601 formatter by
default.

Closes #38345

The existing formatter being used was not on par with the joda formatter
as it was missing the ability to parse a comma as a separator between
seconds and milliseconds.

While a real iso8601 would be much more complex, this might be
sufficient for some more use-cases.

The ingest date formatter now also uses the iso8601 formatter by
default.

Closes elastic#38345
@spinscale spinscale added >non-issue :Distributed/Ingest Node Execution or management of Ingest Pipelines v7.0.0 labels Feb 5, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

@jasontedor jasontedor added v8.0.0 and removed v7.0.0 labels Feb 6, 2019
@spinscale spinscale requested a review from pgomulka February 9, 2019 15:02
Copy link
Copy Markdown
Contributor

@pgomulka pgomulka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks good - do we want to extend the usage of this to previous usages of ISODateTimeFormatter that we migrated to strict_date_time ?
monitoring #36297
or in SQL #38437 ?

@spinscale
Copy link
Copy Markdown
Contributor Author

unless we mention it to the outside as an ISO formatter, I think we can leave as is?

@spinscale spinscale merged commit dfa4625 into elastic:master Feb 11, 2019
spinscale added a commit that referenced this pull request Feb 11, 2019
The existing formatter being used was not on par with the joda formatter
as it was missing the ability to parse a comma as a separator between
seconds and milliseconds.

While a real iso8601 would be much more complex, this might be
sufficient for some more use-cases.

The ingest date formatter now also uses the iso8601 formatter by
default.

Closes #38345
spinscale added a commit that referenced this pull request Feb 11, 2019
The existing formatter being used was not on par with the joda formatter
as it was missing the ability to parse a comma as a separator between
seconds and milliseconds.

While a real iso8601 would be much more complex, this might be
sufficient for some more use-cases.

The ingest date formatter now also uses the iso8601 formatter by
default.

Closes #38345
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.

Ingest processor ISO8601 format parsing is not ISO compatible

6 participants