The GitHub Actions job "Spark CI" on iceberg.git/nested_field_fix2 has failed.
Run started by GitHub user shangxinli (triggered by shangxinli).

Head commit for run:
7b6e19ec01de8c87a6711529275879a75839e5ee / Xinli Shang <[email protected]>
Add nested column schema support in DeleteFilter file projection

This commit resolves the TODO in DeleteFilter.fileProjection() that
previously prevented equality deletes from working with nested columns.

The original code used tableSchema.asStruct().field(fieldId) which only
finds top-level fields, causing 'Cannot find required field for ID X'
errors when equality delete files referenced nested fields.

Changes:
- Use Schema.findColumnName() to get full column path for nested fields
- Use Schema.select() to preserve nested structure in projection
- Separate data column IDs from metadata column IDs to avoid passing
  metadata column names to Schema.select()
- Add metadata columns explicitly after projection (they don't exist in 
tableSchema)
- Add MetadataColumns.metadataColumns() to expose metadata columns dynamically
- Add test coverage for nested columns and metadata columns

Report URL: https://github.com/apache/iceberg/actions/runs/20216424830

With regards,
GitHub Actions via GitBox

Reply via email to