adutra commented on PR #1772:
URL: https://github.com/apache/polaris/pull/1772#issuecomment-2934983193

   Hey @fivetran-kostaszoumpatianos thanks for the pointers. It's interesting 
to notice that `HiveCatalog`'s implementation of `tableExists` also considers 
metadata tables, but `EcsCatalog`'s one doesn't 🤷‍♂️ 
   
   Now I'm trying to reproduce the issue. But so far I can't. Do you have a 
reproducer?
   
   With Spark + Polaris, I can't see any errors, the following commands all 
succeeded:
   
   ```
   spark-sql ()> create namespace test;
   Time taken: 0.223 seconds
   spark-sql ()> create table test.history (c1 int);
   Time taken: 2.314 seconds
   spark-sql ()> show tables in test;
   history
   Time taken: 0.192 seconds, Fetched 1 row(s)
   spark-sql ()> insert into test.history VALUES (1), (2), (3);
   Time taken: 7.436 seconds
   spark-sql ()> select * from test.history;
   1
   2
   3
   Time taken: 2.833 seconds, Fetched 3 row(s)
   spark-sql ()> select * from test.history.history;
   2025-06-03 11:57:17.582 7530028985343056875     NULL    true
   Time taken: 2.322 seconds, Fetched 1 row(s)
   spark-sql ()> spark-sql ()> select * from test.history.snapshots;
   2025-06-03 11:57:17.582 7530028985343056875     NULL    append  
file:/var/tmp/quickstart_catalog/test/history/metadata/snap-7530028985343056875-1-0a43529e-1043-4008-820b-37242a6ace67.avro
     
{"added-data-files":"3","added-files-size":"1221","added-records":"3","app-id":"local-1748944575124","changed-partition-count":"1","engine-name":"spark","engine-version":"3.5.5","iceberg-version":"Apache
 Iceberg unspecified (commit 
7dbafb438ee1e68d0047bebcb587265d7d87d8a1)","spark.app.id":"local-1748944575124","total-data-files":"3","total-delete-files":"0","total-equality-deletes":"0","total-files-size":"1221","total-position-deletes":"0","total-records":"3"}
   Time taken: 2.421 seconds, Fetched 1 row(s)
   ```


-- 
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...@polaris.apache.org

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

Reply via email to