ajsalunkhe commented on issue #9684:
URL: https://github.com/apache/iceberg/issues/9684#issuecomment-1935443901
We are creating iceberg table using below sql query using Athena in Glue
Catalog:
**CREATE TABLE db_name.table_name(col1 string, col2 string, col3 string)
PARTITIONED BY (col2,col3)
LOCATION 's3://location'
TBLPROPERTIES ('table_type'='ICEBERG','format'='parquet',
'write_compression'='snappy')**
Please let me know if anything is missing in creation of table.
Our finding is table is visible in glue catalog also the data is sitting on
s3 but no data is returned by Athena query or even via EMR.
Checked for snapshots when data was loaded and visible immediately - we were
able to see snapshots.
+--------------------+-------------------+-------------------+---------+--------------------+--------------------+
| committed_at| snapshot_id| parent_id|operation|
manifest_list| summary|
+--------------------+-------------------+-------------------+---------+--------------------+--------------------+
|2024-02-08 06:37:...|6359389328078104972|
null|overwrite|s3://cppib-ma-tru...|{spark.app.id -> ...|
|2024-02-08 07:05:...|
251915350753279685|6359389328078104972|overwrite|s3://cppib-ma-tru...|{spark.app.id
-> ...|
+--------------------+-------------------+-------------------+---------+--------------------+--------------------+
When data is not visible after few hours the result shows no snapshots
history.
+------------+-----------+---------+---------+-------------+-------+
|committed_at|snapshot_id|parent_id|operation|manifest_list|summary|
+------------+-----------+---------+---------+-------------+-------+
+------------+-----------+---------+---------+-------------+-------+
--
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]