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

Shohei Okumiya commented on HIVE-28998:
---------------------------------------

Thank you! I confirmed it would work with Trino 474 + 
iceberg.rest-catalog.view-endpoints-enabled=false.

Trino

 
{code:java}
trino> show tables from iceberg.default;
 Table 
-------
(0 rows)Query 20250624_094620_00000_mdgn6, FINISHED, 2 nodes
Splits: 11 total, 11 done (100.00%)
2.25 [0 rows, 0B] [0 rows/s, 0B/s]
trino> create table iceberg.default.test (id int);
CREATE TABLE
trino> insert into iceberg.default.test values (1), (2), (3);
INSERT: 3 rowsQuery 20250624_094649_00003_mdgn6, FINISHED, 2 nodes
Splits: 20 total, 20 done (100.00%)
2.56 [0 rows, 0B] [0 rows/s, 0B/s]
trino> select * from iceberg.default.test;
 id 
----
  1 
  2 
  3 
(3 rows)  {code}
Hive
{code:java}
Beeline version 4.1.0-SNAPSHOT by Apache Hive
0: jdbc:hive2://hive-hiveserver2:10000/defaul> select * from default.test;
...
+----------+
| test.id  |
+----------+
| 1        |
| 2        |
| 3        |
+----------+
3 rows selected (3.198 seconds) {code}
 

> Support Iceberg REST Catalog without authentication
> ---------------------------------------------------
>
>                 Key: HIVE-28998
>                 URL: https://issues.apache.org/jira/browse/HIVE-28998
>             Project: Hive
>          Issue Type: Improvement
>          Components: Iceberg integration, Standalone Metastore
>            Reporter: Shohei Okumiya
>            Assignee: Shohei Okumiya
>            Priority: Major
>              Labels: hive-4.1.0-must, pull-request-available
>             Fix For: 4.1.0
>
>
> The current Iceberg REST API supports only the SIMPLE and JWT-based 
> authentications via `metastore.iceberg.catalog.servlet.auth`. However, as 
> Iceberg REST Catalog is evolving independently of the Hadoop ecosystem, 
> most(or even all) query engines don't support our choices. For example, 
> [Trino supports only NONE or 
> OAUTH2|https://trino.io/docs/current/object-storage/metastores.html#iceberg-rest-catalog].
>  Although it is controversial what should be supported, it would be helpful 
> to provide the non-auth mode for testing purposes.



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

Reply via email to