-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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: Extend DATE_TRUNC to also operate on intervals #46632
Comments
Pinging @elastic/es-search |
Hi, I would like to work on this issue. Can I take it? |
can I take this issue and work on this? |
Hi @matriv I am fully ready to work on this issue. I am just waiting for your response to prevent conflicts. Can I take it? |
@musteaf Sorry for the delayed response. Please go ahead. |
@matriv No problem. I will start right away. Thank you. |
@musteaf Could I pick it up if you're not actively working on it? |
Hi, is this issue still open?
i have JDK 13 installed. |
Hi @shoaib4330 I'm about to finish. Only tests left. |
@musteaf no worries at all, please, thank you for working on this. |
@DANIELK121 Since @musteaf has already picked this up, please try to find another issue you would like to contribute to. Regarding the problems you're having when trying to build es have you followed the guide here: https://github.com/elastic/elasticsearch/blob/master/CONTRIBUTING.md#contributing-to-the-elasticsearch-codebase ? |
#47720) The function is extended to operate on intervals according to the PostgreSQL: https://www.postgresql.org/docs/9.1/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC Closes : #46632
#47720) (#53972) The function is extended to operate on intervals according to the PostgreSQL: https://www.postgresql.org/docs/9.1/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC Closes : #46632 (cherry picked from commit 2dc7950) Co-authored-by: musteaf <[email protected]>
According to the PostgreSQL spec the DATE_TRUNC's 2nd argument can also be an interval: https://www.postgresql.org/docs/9.1/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC
Currently for ES-SQL it only supports DATETIME & DATE.
Follow up to: #46319
The text was updated successfully, but these errors were encountered: