Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19825
Change subject: IMPALA-12110: Create Kudu table in CTAS without specifying primary key ...................................................................... IMPALA-12110: Create Kudu table in CTAS without specifying primary key IMPALA-11809 adds support non unique primary key for Kudu table. It allows to create Kudu table without specifying primary key since partition columns could be promoted as non unique primary key. But when creating Kudu table in CTAS without specifying primary key, Impala returns parsing error. This patch fixed the parsing issue for creating Kudu table in CTAS without specifying primary key. Testing: - Added new test cases in parsing unit-test and end-to-end unit-test. - Passed core tests. Change-Id: Ia7bb0cf1954e0a4c3d864a800e929a88de272dd5 --- M fe/src/main/cup/sql-parser.cup M fe/src/test/java/org/apache/impala/analysis/ParserTest.java M testdata/workloads/functional-query/queries/QueryTest/kudu_create.test 3 files changed, 43 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/19825/1 -- To view, visit http://gerrit.cloudera.org:8080/19825 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia7bb0cf1954e0a4c3d864a800e929a88de272dd5 Gerrit-Change-Number: 19825 Gerrit-PatchSet: 1 Gerrit-Owner: Wenzhe Zhou <[email protected]>
