The GitHub Actions job "CI" on iceberg-rust.git/main has failed. Run started by GitHub user liurenjie1024 (triggered by liurenjie1024).
Head commit for run: a0424e9e99cc71499c17c32de2dbfb0c4353793b / Liang-Chi Hsieh <[email protected]> feat(datafusion): Add schema validation for partition projection (#2008) Implement schema validation in project_with_partition to ensure the input schema matches the Iceberg table schema before calculating partition values. This prevents subtle bugs from schema mismatches and provides clear error messages when schemas don't match. Changes: - Add helper functions to recursively strip metadata from Arrow schemas - Implement schema validation that compares input schema with expected Iceberg table schema, ignoring metadata differences - Add comprehensive tests for metadata stripping and schema validation - Closes #1752 The implementation follows the approach suggested in issue #1752: - Recursively visits schema and removes metadata from all fields - Compares cleaned schemas using Arrow's built-in equality operator - Returns helpful error messages showing both schemas on mismatch ## Which issue does this PR close? - Closes #. ## What changes are included in this PR? ## Are these changes tested? Co-authored-by: Claude Sonnet 4.5 <[email protected]> Report URL: https://github.com/apache/iceberg-rust/actions/runs/20941828495 With regards, GitHub Actions via GitBox
