Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
For queries with lateral view such as:
SELECT k FROM tbl LATERAL VIEW EXPLODE(some_map_col) tbl2 AS k, v
where some_map_col is some column of map type, we should only need to scan all the keys for the map. Currently we need to scan both key and values.