[
https://issues.apache.org/jira/browse/IMPALA-15263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weizisheng updated IMPALA-15263:
--------------------------------
Description:
compute stats query failed on new create iceberg table, while succeed after
inserting one row of data.
{code:java}
default> create table iceberg_814 (id int ,name string) stored as iceberg;
Query: create table iceberg_814 (id int ,name string) stored as iceberg
+-------------------------+
| summary |
+-------------------------+
| Table has been created. |
+-------------------------+
Fetched 1 row(s) in 1.43s
default> compute stats iceberg_814;
Query: compute stats iceberg_814
ERROR: IllegalStateException: null
default> insert into iceberg_814 values (1,"name");
Query: insert into iceberg_814 values (1,"name")
Query submitted at: 2026-08-13 21:41:04 (Coordinator:
https://192.168.0.100:25000)
Query progress can be monitored at:
https://192.168.0.100:25000/query_plan?query_id=124cde61ace28c32:444cffa300000000
Modified 1 row(s) in 2.41s
default> compute stats iceberg_814;
Query: compute stats iceberg_814
+-----------------------------------------+
| summary |
+-----------------------------------------+
| Updated 1 partition(s) and 2 column(s). |
+-----------------------------------------+
Fetched 1 row(s) in 0.92s
default>
{code}
was:
compute stats query failed on new create iceberg table, while succeed after
inserting one row of data.
{code:java}
default> create table iceberg_814 (id int ,name string) stored as iceberg;
Query: create table iceberg_814 (id int ,name string) stored as iceberg
+-------------------------+
| summary |
+-------------------------+
| Table has been created. |
+-------------------------+
Fetched 1 row(s) in 1.43s
default> compute stats iceberg_814;
Query: compute stats iceberg_814
ERROR: IllegalStateException: null
default> insert into iceberg_814 values (1,"name");
Query: insert into iceberg_814 values (1,"name")
Query submitted at: 2026-08-13 21:41:04 (Coordinator:
https://192.168.0.100:25000)
Query progress can be monitored at:
https://192.168.0.100:25000/query_plan?query_id=124cde61ace28c32:444cffa300000000
Modified 1 row(s) in 2.41s
default> compute stats iceberg_814;
Query: compute stats iceberg_814
+-----------------------------------------+
| summary |
+-----------------------------------------+
| Updated 1 partition(s) and 2 column(s). |
+-----------------------------------------+
Fetched 1 row(s) in 0.92s
default>
{code}
> Catalogd throws IllegalStateException on COMPUTE STATS on freshly-created
> Iceberg tables
> ----------------------------------------------------------------------------------------
>
> Key: IMPALA-15263
> URL: https://issues.apache.org/jira/browse/IMPALA-15263
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Affects Versions: Impala 4.3.0
> Reporter: Weizisheng
> Priority: Major
>
> compute stats query failed on new create iceberg table, while succeed after
> inserting one row of data.
>
> {code:java}
> default> create table iceberg_814 (id int ,name string) stored as iceberg;
> Query: create table iceberg_814 (id int ,name string) stored as iceberg
> +-------------------------+
> | summary |
> +-------------------------+
> | Table has been created. |
> +-------------------------+
> Fetched 1 row(s) in 1.43s
> default> compute stats iceberg_814;
> Query: compute stats iceberg_814
> ERROR: IllegalStateException: null
> default> insert into iceberg_814 values (1,"name");
> Query: insert into iceberg_814 values (1,"name")
> Query submitted at: 2026-08-13 21:41:04 (Coordinator:
> https://192.168.0.100:25000)
> Query progress can be monitored at:
> https://192.168.0.100:25000/query_plan?query_id=124cde61ace28c32:444cffa300000000
> Modified 1 row(s) in 2.41s
> default> compute stats iceberg_814;
> Query: compute stats iceberg_814
> +-----------------------------------------+
> | summary |
> +-----------------------------------------+
> | Updated 1 partition(s) and 2 column(s). |
> +-----------------------------------------+
> Fetched 1 row(s) in 0.92s
> default>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]