Apache Iceberg version
0.8.0 (latest release)
Please describe the bug 🐞
Per the Iceberg spec, partition columns with identity transforms should get their values from the metadata if not present in the data file. However, table.scan returns null values instead.
https://iceberg.apache.org/spec/#column-projection
"Values for field ids which are not present in a data file must be resolved according the following rules:
Return the value from partition metadata if an Identity Transform exists for the field and the partition value is present in the partition struct on data_file object in the manifest. This allows for metadata only migrations of Hive tables."
Willingness to contribute