weimingdiit opened a new pull request, #2435: URL: https://github.com/apache/auron/pull/2435
**Which issue does this PR close?** Closes #2434 **Rationale for this change** Auron native Iceberg changelog scan currently supports insert-only changelog tasks. Full-data-file delete changelog tasks can be executed natively without row-level delete-file handling. Auron can scan the deleted data file directly and materialize changelog metadata from the Iceberg changelog task. Supporting this case improves native Iceberg changelog scan coverage while keeping more complex delete and update semantics on Spark's reader. **What changes are included in this PR?** Allows native Iceberg changelog scan to accept `DeletedDataFileScanTask` when: - the changelog operation is `DELETE` - `existingDeletes()` is empty Keeps existing native support for `AddedRowsScanTask` when: - the changelog operation is `INSERT` - `deletes()` is empty Keeps fallback behavior for unsupported changelog tasks, including row-level deletes, position/equality deletes, update changelog tasks, mixed file formats, and delete tasks with existing delete files. Adds coverage for: - full-data-file delete changelog native scan - a changelog range that contains both insert tasks and full-data-file delete tasks **Are there any user-facing changes?** No user-facing API changes. More Iceberg changelog scans can now be executed natively by Auron. **How was this patch tested?** UT. -- 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]
