Csaba Ringhofer has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/8400 )
Change subject: IMPALA-4167: Support insert plan hints for CREATE TABLE AS SELECT ...................................................................... IMPALA-4167: Support insert plan hints for CREATE TABLE AS SELECT Adding support for "clustered", "noclustered", "shuffle" and "noshuffle" hints in CTAS statement. example: create /*+ clustered,noshuffle */ table t partitioned by (year, month) as select * from functional.alltypes The effect of these hints are the same as in insert statements: clustered: sort by partition columns before insert to make the insert more efficient noclustered: currently no effect, as this is the default behaivour shuffle: add exchenge node before insert even in case of unpartitioned tables noshuffle: do not add exchange node before insert to partitioned tables Change-Id: I8d74bca999da8ae1bb89427c70841f33e3c56ab0 --- M fe/src/main/cup/sql-parser.cup M fe/src/main/java/org/apache/impala/analysis/CreateTableAsSelectStmt.java M fe/src/main/java/org/apache/impala/analysis/TableDef.java M testdata/workloads/functional-planner/queries/PlannerTest/ddl.test 4 files changed, 96 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/8400/2 -- To view, visit http://gerrit.cloudera.org:8080/8400 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I8d74bca999da8ae1bb89427c70841f33e3c56ab0 Gerrit-Change-Number: 8400 Gerrit-PatchSet: 2 Gerrit-Owner: Csaba Ringhofer <csringho...@cloudera.com>