codope commented on issue #1756:
URL: https://github.com/apache/iceberg/issues/1756#issuecomment-894220115


   > Are your referring to your tables as local.database.table?
   
   @RussellSpitzer Thank you so much. Your comment helped! I was actually 
referring to my tables as `local.db.table`. I changed that to 
`local.default.table` because `show current namespace` listed `default` as the 
database. It worked!
   
   I think this issue can be closed. For completeness, I will mention below the 
SQLs that worked with the configs I set.
   
   ```
   CREATE TABLE local.default.t1 (id bigint, data string) USING iceberg;
   INSERT INTO local.default.t1 VALUES (1, 'a'), (2, 'b'), (3, 'c');
   ```
   
   After this goto the location (specified in 
`spark.sql.catalog.local.warehouse`) on the namenode and the data as well as 
metadata should be visible under `$PWD/warehouse/default/t1`.


-- 
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