Trino use the field.name() as partition name when building Iceberg $partition table.
After a partition column rename, the $partition table returns old partition column name that no longer exists.
Fix the logic to use updated partition column name to keep it consistent with new schema.
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:
## Section
* Fix some things. ({issue}`issuenumber`)
Description
Trino use the
field.name()
as partition name when building Iceberg$partition
table. After a partition column rename, the$partition
table returns old partition column name that no longer exists.Fix the logic to use updated partition column name to keep it consistent with new schema.
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. ( ) Release notes are required, with the following suggested text: