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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
For queries with HAVING clause only (without GROUP BY), the select list fails to handle functions applied to literal (it only allows literal in this case which is wrong)
Query:
SELECT (TO_DAYS(DATE('2050-01-01')) - 693961)
FROM `calcs`
HAVING (COUNT(1) > 0)
Error message:
"Explicit GROUP BY clause is required because expression [-(TO_DAYS(DATE(2050-01-01)), 693961)] contains non- aggregated column"
The text was updated successfully, but these errors were encountered:
For queries with HAVING clause only (without GROUP BY), the select list fails to handle functions applied to literal (it only allows literal in this case which is wrong)
Query:
Error message:
The text was updated successfully, but these errors were encountered: