roryqi opened a new pull request, #14384: URL: https://github.com/apache/gravitino/pull/14384
### What changes were proposed in this pull request? Skip empty resolved column-mask restrictions before deduplication and conflict detection, matching the row-filter behavior. Add four regression tests covering identity masks, conditional branches, policy ordering, and type validation. ### Why are the changes needed? A policy returning the original value produces no projection, but its empty restriction currently conflicts with another policy's effective mask on the same field and rejects the table load. Follow-up to #14237. ### Does this PR introduce _any_ user-facing change? Yes. Identity masks can coexist with an effective mask without rejecting the table load. Distinct effective masks still conflict, and invalid mask types still fail validation. ### How was this patch tested? The two new mixed-mask regression tests reproduced the conflict before the fix. All 58 experimental Iceberg REST module tests pass after the fix. ```bash ./gradlew :iceberg:iceberg-rest-server-experiment:spotlessApply :iceberg:iceberg-rest-server-experiment:test -PskipITs ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
