Peter Rozsa has uploaded a new patch set (#3). ( 
http://gerrit.cloudera.org:8080/19261 )

Change subject: IMPALA-11722: Wrong error message when unsupported complex type 
comes from * expression
......................................................................

IMPALA-11722: Wrong error message when unsupported complex type comes from * 
expression

Adds the missing check for unsupported struct fields when SlotRef
is created from an expanded path from star expression. For example:
'select * from functional_orc_def.complextypestbl;' reports
NullPointerException instead of reporting an AnalysisException: 'Struct
containing a collection type is not allowed in the select list.'
Now the struct condition checks are placed at every callsite.

Analyze tests added for erroneous queries.

Change-Id: I43ffe5d56740b36c93cf4401be871377d3168a4c
---
M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java
M fe/src/main/java/org/apache/impala/analysis/SlotRef.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java
3 files changed, 33 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/61/19261/3
--
To view, visit http://gerrit.cloudera.org:8080/19261
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I43ffe5d56740b36c93cf4401be871377d3168a4c
Gerrit-Change-Number: 19261
Gerrit-PatchSet: 3
Gerrit-Owner: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>

Reply via email to