Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
HIVE-3495 fixed this for single gbys but not for multi-gbys. For example,
FROM (select key, cast(key as double) as value from src order by key) a INSERT OVERWRITE TABLE e1 SELECT COUNT(*) INSERT OVERWRITE TABLE e2 SELECT percentile_approx(value, 0.5); FAILED: UDFArgumentTypeException The second argument must be a constant, but double was passed instead.