ganeshashree opened a new issue, #10025:
URL: https://github.com/apache/iceberg/issues/10025

   ### Apache Iceberg version
   
   1.5.0 (latest release)
   
   ### Query engine
   
   Hive
   
   ### Please describe the bug 🐞
   
   When Iceberg table is created using Hive with catalog as GlueCatalog, the 
table gets created without any metadata file. There is no error thrown for 
metadata file not created. When you try to run INSERT/SELECT query on that 
table, the query fails with 
`org.apache.iceberg.exceptions.NoSuchTableException` while loading the table. 
   
   The following is the command used for creating Iceberg table:
   
   ```
   SET 
iceberg.catalog.glue.catalog-impl=org.apache.iceberg.aws.glue.GlueCatalog;
   SET 
iceberg.catalog.glue.lock-impl=org.apache.iceberg.aws.dynamodb.DynamoDbLockManager;
   SET iceberg.catalog.glue.io-impl=org.apache.iceberg.aws.s3.S3FileIO;
   SET iceberg.catalog.glue.lock.table=myGlueLockTable;
   
   CREATE EXTERNAL TABLE test_glue_iceberg (i int) STORED BY 
'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler'
   location '<s3_location>'
   TBLPROPERTIES ('table_type'='iceberg', 'iceberg.catalog'='glue');
   
   INSERT INTO test_glue_iceberg values (1); -- Fails with NoSuchTableException
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to