You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Many date functions are already supported though some common ones are still missing (in new engine). Meanwhile time zone support is also high demand.
Activity
[-]Date type query improvement[/-][+]Date time query improvement[/+]dai-chen commentedon Apr 15, 2022
Another customer reported issue in using
NOW()function with other date functions: https://discuss.opendistrocommunity.dev/t/subdate-date-sub-query-method-not-supported/9252/2. We need to improve the common date function support in new engine to avoid fallback to legacy engine without complete expression system.dredwilliams commentedon Apr 18, 2022
It also appears that adddate/subdate functions don't work properly in WHERE clauses -- even when used with fields instead of the now() function:
SELECT now() as n, @timestamp, nodename, state FROM node-index WHERE adddate(@timestamp, INTERVAL 5 MINUTE) > nThe statement works until I add the where clause, at which point I get the "unsupported method: adddate" error message
dai-chen commentedon Apr 26, 2022
Support for more date format: #580
penghuo commentedon Jun 21, 2022
[BUG] Aggregate on date function does not work as expected. #645
acarbonetto commentedon Sep 19, 2022
List of improvements, prioritized:
acarbonetto commentedon Sep 19, 2022
Need to add to the above list:
acarbonetto commentedon Sep 23, 2022
Will be partially resolved by: #722
acarbonetto commentedon Jul 17, 2023
Closing this. Only bug remaining is the timezone issue: #1874