Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/12217 )

Change subject: IMPALA-7679: Improve error message when adding NULL column in 
CTAS, CREATE VIEW and ALTER VIEW
......................................................................

IMPALA-7679: Improve error message when adding NULL column in CTAS, CREATE VIEW 
and ALTER VIEW

This patch improves the error message to be more helpful when inserting
a NULL column in CTAS, CREATE VIEW, and ALTER VIEW  without an explicit
cast due to the inability to infer the column type.

Testing:
- Added new FE tests
- Ran all FE tests

Change-Id: Ia2fe1fc96f0650477c0e897c010be3fadabfaf82
Reviewed-on: http://gerrit.cloudera.org:8080/12217
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M fe/src/main/java/org/apache/impala/analysis/CreateOrAlterViewStmtBase.java
M fe/src/main/java/org/apache/impala/analysis/CreateTableAsSelectStmt.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
3 files changed, 38 insertions(+), 0 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/12217
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia2fe1fc96f0650477c0e897c010be3fadabfaf82
Gerrit-Change-Number: 12217
Gerrit-PatchSet: 8
Gerrit-Owner: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Paul Rogers <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>

Reply via email to