Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
select x from (select value as x from src union all select NULL as x from src)a;
This query produces all nulls, where value is a string column.
Notably,
select x from (select key as x from src union all select NULL as x from src)a;
where key is a string, but can be cast to a double, the query returns correct results.
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-747 void type (null column) cannot be UNIONed with other type
- Open