Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/19261 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I43ffe5d56740b36c93cf4401be871377d3168a4c Gerrit-Change-Number: 19261 Gerrit-PatchSet: 4 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]>
