impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-1654: General partition exprs in DDL operations.
Date Fri, 09 Sep 2016 01:10:50 GMT
Alex Behm has posted comments on this change.

Change subject: IMPALA-1654: General partition exprs in DDL operations.

Patch Set 7:

File fe/src/main/java/com/cloudera/impala/analysis/

Line 86:     checkAddIfExists(analyzer, table_, transformedConjuncts);

Line 136:       if (partitionShouldExist_ != null) {
Not sure what I was thinking the first time around, but I don't think this warning makes sense
anymore. Let's remove it.
File fe/src/main/java/com/cloudera/impala/analysis/

Line 92:     // Make sure the target table is partitioned.
remove, already checked above
File fe/src/test/java/com/cloudera/impala/analysis/

Line 153:     AnalysisError("alter table functional.alltypes drop " +
move these 2 tests below L179

Line 189:         "A partition spec may not contain constant predicates.");
should also print the offending expr
File testdata/workloads/functional-query/queries/QueryTest/partition-ddl-predicates.test:

Line 12: alter table p1 add partition (j=2,k=NULL);
more NULLs, we should have

j NULL and k not NULL
j not NULL and k NULL
j NULL and k NULL

Line 33: regex:.+,'4B','j=1/k=a'
safer to use regex for the size (second column) as well

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I2c9162fcf9d227b8daf4c2e761d57bab4e26408f
Gerrit-PatchSet: 7
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Amos Bird <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Amos Bird <>
Gerrit-HasComments: Yes

View raw message