aarushigupta132 opened a new pull request, #19345: URL: https://github.com/apache/iceberg/pull/19345
`RESTTableScan` keeps the server's residuals when a scan calls `ignoreResiduals()`. Spark's copy-on-write DELETE and UPDATE read through such scans, and the readers use the residual to skip Parquet row groups, so with server-side planning the rows in skipped row groups are dropped from the rewritten files. Tasks from these scans now get a TRUE residual, as in local planning, for inline tasks and for tasks fetched from plan tasks. A server that plans with the scan filter can also drop delete files these scans need (#12479 fixed that for local planning). That needs a request field and is left for a follow-up. Test plan: `TestRESTScanPlanning#remoteScanPlanningWithIgnoreResiduals` plans a filtered scan across two pages and checks every task has a TRUE residual. -- 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]
