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

   ### Apache Iceberg version
   
   0.14.0 (latest release)
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   the spark catalog configure as follow:
   ```
   spark.sql.catalog.warehouse.type                hive
   spark.sql.catalog.warehouse.warehouse           s3a://warehouse/
   ```
   when I tried to ```create database test``` at Spark-SQL, it throws error:
   java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative 
path in absolute URI: s3a://warehousetest
   seems that the spark-iceberg runtime missed slash and give wrong path to HMS.
   After add folder path, it works well: 
   ```spark.sql.catalog.warehouse.warehouse s3a://warehouse/test/```
   And I switch to trino, it creates correct schema at s3a://warehouse, seems 
hms works well.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to