-
Bug
-
Resolution: Done
-
Major
-
14.0
-
None
-
-
Undefined
Query with NULL will fail, as the cast statement is removed during the rewriting of the query.
The issue also occurs for MSSQL:
--fails select avg(cast(null as integer)) from "test_dwh_pg.test" ;; --fails select sum(cast(null as integer)) from "test_dwh_pg.test" ;;