Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
query:
SELECT COUNT(1) AS one FROM items UNION ALL SELECT COUNT(1) AS one FROM items;
A runtime error is thrown:
Invalid types for casting, required type generalized-record-type: closed { one: UNION(INT64, NULL, MISSING) } , input type null: closed { one: UNION(INT64, NULL, MISSING) } [IllegalStateException]