trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

Add spec_id, partition, sort_order_id, readable_metrics columns to Iceberg $files table #24102

Closed ebyhr closed 5 days ago

ebyhr commented 1 week ago

Description

Relates to #24101

Add 4 missing columns Spark supports: https://iceberg.apache.org/docs/latest/spark-queries/#files

Release notes

## Iceberg
* Add `spec_id`, `partition`, `sort_order_id`, `readable_metrics` columns to `$files` metadata table. ({issue}`24102`)
osscm commented 1 week ago

@ebyhr thanks for adding this feature!!

Can you please take my changes/commit and add yours on top of it. If you see, I was waiting for that PR to be review from long time. :(

thanks