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

SQL: Interval MILLISECOND should be optional #36032

Closed
costin opened this issue Nov 29, 2018 · 1 comment
Closed

SQL: Interval MILLISECOND should be optional #36032

costin opened this issue Nov 29, 2018 · 1 comment

Comments

@costin
Copy link
Member

costin commented Nov 29, 2018

Currently SQL requires fraction of the second (milliseconds) to be specified in all SECOND intervals however the grammar indicates that this is optional.
Namely: INTERVAL '5' SECOND should be allowed while currently one would have to write INTERVAL '5.0' SECOND

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

costin added a commit to costin/elasticsearch that referenced this issue Nov 29, 2018
Fractions of the second are not mandatory anymore inside INTERVAL
 declarations

Fix elastic#36032
costin added a commit that referenced this issue Nov 29, 2018
Fractions of the second are not mandatory anymore inside INTERVAL
 declarations

Fix #36032
costin added a commit that referenced this issue Nov 29, 2018
Fractions of the second are not mandatory anymore inside INTERVAL
 declarations

Fix #36032

(cherry picked from commit 1d458e3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants