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

Change subject: IMPALA-12850: Add better error message for REFRESH iceberg_tbl 
PARTITION(...)
......................................................................

IMPALA-12850: Add better error message for REFRESH iceberg_tbl PARTITION(...)

Iceberg table partition keys are not recorded in HMS, because
of the various partition transforms that the Iceberg spec makes
possible. Therefore Iceberg tables do not support partition-grained
refresh.
The previous error message was not descriptive; it originated from
the different partition handling logic that Impala has for Iceberg
tables compared to HDFS tables.
Added a more user-friendly, Iceberg-specific error message.

Testing:
 - AnalyzerTest

Change-Id: Id4bccf3eac533a00c156d2a5631523684b5e5b9c
Reviewed-on: http://gerrit.cloudera.org:8080/21594
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M fe/src/main/java/org/apache/impala/analysis/PartitionSpec.java
M fe/src/main/java/org/apache/impala/analysis/PartitionSpecBase.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzerTest.java
3 files changed, 11 insertions(+), 2 deletions(-)

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

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id4bccf3eac533a00c156d2a5631523684b5e5b9c
Gerrit-Change-Number: 21594
Gerrit-PatchSet: 3
Gerrit-Owner: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to