[ 
https://issues.apache.org/jira/browse/IMPALA-14782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087039#comment-18087039
 ] 

Michael Smith commented on IMPALA-14782:
----------------------------------------

This introduced a regression:
{code}
> create table foo (s string) stored as iceberg 
> tblproperties('format-version'='3');
Query: create table foo (s string) stored as iceberg 
tblproperties('format-version'='3')
+-------------------------+
| summary                 |
+-------------------------+
| Table has been created. |
+-------------------------+
Fetched 1 row(s) in 0.11s
> insert into foo values ('a'), ('b');
Query: insert into foo values ('a'), ('b')
Query submitted at: 2026-06-08 10:55:17 (Coordinator: http://lima-default:25000)
Query state can be monitored at: 
http://lima-default:25000/query_plan?query_id=f24cefa692a1b7ba:c5e6a6c600000000
Modified 2 row(s) in 0.26s
> delete from foo where s='a';
Query: delete from foo where s='a'
Query submitted at: 2026-06-08 10:55:19 (Coordinator: http://lima-default:25000)
Query state can be monitored at: 
http://lima-default:25000/query_plan?query_id=a940c1516bdc616a:96930a5700000000
Deleted 1 row(s) in 0.34s
> insert into foo values ('c'), ('d'), ('e');
Query: insert into foo values ('c'), ('d'), ('e')
Query submitted at: 2026-06-08 10:55:26 (Coordinator: http://lima-default:25000)
Query state can be monitored at: 
http://lima-default:25000/query_plan?query_id=724a1a879d4e38a0:68fbdae100000000
Modified 3 row(s) in 0.33s
> merge into foo using (select * from foo) as bar on foo.s = bar.s
when matched then delete
when not matched then insert (s) values ("what");
Query: merge into foo using (select * from foo) as bar on foo.s = bar.s
when matched then delete
when not matched then insert (s) values ("what")
Query submitted at: 2026-06-08 10:55:28 (Coordinator: http://lima-default:25000)
Query state can be monitored at: 
http://lima-default:25000/query_plan?query_id=5b4a19a130074c96:c4adb17800000000
2026-06-08 10:55:29 [Exception]  ERROR: Query 5b4a19a130074c96:c4adb17800000000 
failed:
NoClassDefFoundError: Could not initialize class 
org.apache.iceberg.deletes.RoaringPositionBitmap
CAUSED BY: ExceptionInInitializerError: Exception 
java.lang.NoClassDefFoundError: org/roaringbitmap/RoaringBitmap [in thread 
"iceberg-delete-worker-pool-0"]
{code}


> Use CatalogUtil instead of Catalogs
> -----------------------------------
>
>                 Key: IMPALA-14782
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14782
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Mihaly Szjatinya
>            Priority: Major
>              Labels: impala-iceberg
>
> Catalogs [1] is the only reason we depend on iceberg-mr. And the Iceberg 
> community wants to deprecate it.
> CatalogUtil [2] has all the functionality we need. Only limitation is that it 
> doesn't support HadoopTables, but they are supported natively by Impala 
> anyway.
> [1][https://github.com/apache/iceberg/blob/main/mr/src/main/java/org/apache/iceberg/mr/Catalogs.java]
> [2]
> [https://github.com/apache/iceberg/blob/d2fbe427ecec298f1600260f40fcab1b7ab2e695/core/src/main/java/org/apache/iceberg/CatalogUtil.java]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to