Chao Sun created HIVE-15568:
-------------------------------
Summary: Nested column pruning: more optimization on lateral view
Key: HIVE-15568
URL: https://issues.apache.org/jira/browse/HIVE-15568
Project: Hive
Issue Type: Sub-task
Components: Logical Optimizer
Affects Versions: 2.2.0
Reporter: Chao Sun
For queries with lateral view such as:
{code}
SELECT k FROM tbl
LATERAL VIEW EXPLODE(some_map_col) tbl2 AS k, v
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)