IMPALA-14013: DROP INCREMENTAL STATS throws NullPointerException for

Iceberg tables

Similarly to 'COMPUTE INCREMENTAL STATS', 'DROP INCREMENTAL STATS'
should prohibit the partition variant for Iceberg tables.

Testing:
- FE: fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
- EE: tests/query_test/test_iceberg.py

Change-Id: If3d9ef45a9c9ddce9a5e43c5058ae84f919e0283
Reviewed-on: http://gerrit.cloudera.org:8080/23394
Reviewed-by: Noemi Pap-Takacs <npaptakacs@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Mihaly Szjatinya
2025-09-15 18:24:48 +02:00
committed by Noemi Pap-Takacs
parent 0513c071b4
commit 591bf48c72
4 changed files with 39 additions and 7 deletions

View File

@@ -387,7 +387,11 @@ STRING, STRING, BIGINT, BIGINT, BIGINT, DOUBLE, BIGINT, BIGINT
---- QUERY
COMPUTE INCREMENTAL STATS ice_alltypes_part PARTITION (i=1);
---- CATCH
COMPUTE INCREMENTAL ... PARTITION not supported for Iceberg table
COMPUTE INCREMENTAL STATS ... PARTITION not supported for Iceberg table
---- QUERY
DROP INCREMENTAL STATS ice_alltypes_part PARTITION (i=1);
---- CATCH
DROP INCREMENTAL STATS ... PARTITION not supported for Iceberg table
====
---- QUERY