Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
-
select version()
_c0▼
2.1.0.2.6.5.1050-37 rb49a1217fdf463c41661ec6512348ff9ef4706a9
Description
Documentation at
For collect_list is currently only
array | collect_list(col) | Returns a list of objects with duplicates. (As of Hive 0.13.0.) |
However it should mention that nulls are not captured, at least on Hive 2.1
select collect_list(v) from (
select 1 as v
union all select null as v
union all select 3 as v
) t
Result
_c0
[1,3]