Noemi Pap-Takacs has uploaded this change for review. ( 
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
---
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(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/94/21594/1
--
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: newchange
Gerrit-Change-Id: Id4bccf3eac533a00c156d2a5631523684b5e5b9c
Gerrit-Change-Number: 21594
Gerrit-PatchSet: 1
Gerrit-Owner: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to