[ https://issues.apache.org/jira/browse/HIVE-15537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Sun updated HIVE-15537: ---------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Committed to master. Thanks [~Ferd] for the review. > Nested column pruning: fix issue when selecting struct field from array/map > element (part 2) > -------------------------------------------------------------------------------------------- > > Key: HIVE-15537 > URL: https://issues.apache.org/jira/browse/HIVE-15537 > Project: Hive > Issue Type: Sub-task > Components: Logical Optimizer > Affects Versions: 2.2.0 > Reporter: Chao Sun > Assignee: Chao Sun > Fix For: 2.2.0 > > Attachments: HIVE-15537.1.patch, HIVE-15537.2.patch, > HIVE-15537.3.patch, HIVE-15537.4.patch, HIVE-15537.5.patch > > > HIVE-15507 only addresses the issue of > {code} > SELECT arr[0].f FROM tbl > {code} > However, it didn't handle: > {code} > SELECT arr[0].f.g FROM tbl > {code} > In this case the current code will generate a path {{arr.g}}, which is wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332)