Gabriel39 opened a new pull request, #67326:
URL: https://github.com/apache/doris/pull/67326
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary:
The File Scanner V1 Iceberg reader accepted equality delete metadata with an
empty field ID list. That allowed malformed metadata to reach a zero-column
equality comparison, where every row could compare equal.
This change rejects missing or empty equality delete field IDs at the reader
entry point, matching the File Scanner V2 invariant. It also adds a BE unit
test that verifies rejection happens before delete-file I/O.
### Release note
Reject malformed Iceberg equality delete files with no field IDs.
### Check List (For Author)
- Test
- [x] Unit Test
-
`IcebergReaderTest.v1_rejects_equality_delete_file_with_empty_field_ids`
- `IcebergReaderTest.*` (42 tests passed)
- Behavior changed:
- [x] Yes. Malformed equality delete metadata with no field IDs is
rejected.
- Does this need documentation?
- [x] No.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]