Dear Iceberg community,

I recently try to set up Presto/Trino to connect to the Iceberg data store. I 
generated Iceberg db/table/data using a Flink job via Glue Catalog. So after 
Flink job run. My Iceberg meta and data files are in AWS s3. I can use flink 
sql-client to query the iceberg table. Now I try to set up Trino catalog to 
query the same icerberg table. I don’t know how to configure 
trino/etc/catalog/iceberg.properties file. Here is the CATALOG I run in the 
flink sql-client.
        
CREATE CATALOG my_ice WITH (
  'type'='iceberg',
  'warehouse'='s3://raw-corpus-test/my-iceberg',
  'catalog-impl'='org.apache.iceberg.aws.glue.GlueCatalog',
  'io-impl'='org.apache.iceberg.aws.s3.S3FileIO',
  'lock-impl'='org.apache.iceberg.aws.glue.DynamoLockManager',
  'lock.table'='myGlueLockTable'
);

I saw documentation of

connector.name=iceberg
hive.metastore.uri=thrift://localhost:9083

My question is what value to put for hive.metastore.uri in my case where my 
meta and data files are in s3?

Thanks,
Ivan



Reply via email to