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: bounds of interval multiplication are not checked #83336

Closed
bpintea opened this issue Jan 31, 2022 · 1 comment · Fixed by #83478
Closed

SQL: bounds of interval multiplication are not checked #83336

bpintea opened this issue Jan 31, 2022 · 1 comment · Fixed by #83478
Labels
:Analytics/SQL SQL querying >bug Team:QL (Deprecated) Meta label for query languages team

Comments

@bpintea
Copy link
Contributor

bpintea commented Jan 31, 2022

Description

Running a query like SELECT 9223372036854775807 * INTERVAL '1-0' YEAR TO MONTH will result in P-1Y, instead of a range exception.

@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Jan 31, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying >bug Team:QL (Deprecated) Meta label for query languages team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants