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
This fix should probably be combined with a fix for #40162 where we should probably use a calendar_interval of 1 year only for grouping by YEAR function scenarios.
The text was updated successfully, but these errors were encountered:
For this SQL query
SELECT YEAR(birth_date + INTERVAL 1 YEAR) AS x FROM test_emp GROUP BY x
, the following ES query is generated:Which is obviously wrong. Also, the results of the query will be wrong, as well. A possible query should be:
This fix should probably be combined with a fix for #40162 where we should probably use a
calendar_interval
of 1 year only for grouping byYEAR
function scenarios.The text was updated successfully, but these errors were encountered: