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.26k stars 2.95k forks source link

Use iceberg partition table api for partitions metadata table #14359

Open vgankidi opened 2 years ago

vgankidi commented 2 years ago

Spec id would be useful to have in partitions table output - https://github.com/apache/iceberg/blob/40de4bc7dc12c3e2c40d4fb687f9ee3342cb1727/core/src/main/java/org/apache/iceberg/PartitionsTable.java#L50

Since we don't rely on that schema and we build our own, we dont have that info. However we have one additional column data

Spark currently leverages that

ebyhr commented 1 year ago

Can you describe the situation when spec_id is helpful?