Csaba Ringhofer has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18734


Change subject: IMPALA-11434: Fix analysis of multiple more than 1d arrays in 
select list
......................................................................

IMPALA-11434: Fix analysis of multiple more than 1d arrays in select list

More than 1d arrays in select list tried to register a
CollectionTableRef with name "item" for the inner arrays,
leading to name collusion.

The logic is changed to always use the full path as explicit alias
in CollectionTableRefs backing arrays in select list.

Testing:
- added a new table to testdata and a regression test

Change-Id: I6f2b6cad51fa25a6f6932420eccf1b0a964d5e4e
---
M fe/src/main/java/org/apache/impala/analysis/Analyzer.java
M fe/src/main/java/org/apache/impala/analysis/CollectionTableRef.java
M testdata/datasets/functional/functional_schema_template.sql
M testdata/datasets/functional/schema_constraints.csv
M 
testdata/workloads/functional-query/queries/QueryTest/nested-array-in-select-list.test
5 files changed, 40 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/18734/1
-- 
To view, visit http://gerrit.cloudera.org:8080/18734
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f2b6cad51fa25a6f6932420eccf1b0a964d5e4e
Gerrit-Change-Number: 18734
Gerrit-PatchSet: 1
Gerrit-Owner: Csaba Ringhofer <[email protected]>

Reply via email to