taoran92 opened a new pull request, #10135: URL: https://github.com/apache/paimon/pull/10135
### Purpose Closes #10134. Column pruning can drop sequence fields needed to determine whether a partial-update row has been deleted. Consequently, `COUNT(*)` and projected reads can return deleted rows even when `SELECT *` correctly excludes them. Include whole-row deletion fields when deriving internal read dependencies and expand their complete ordering fields, including sequence groups with multiple ordering fields. Preserve the user-visible projection. ### Tests - `PartialUpdateMergeFunctionTest`: 47 tests passed, covering empty, key-only, unrelated-field and reordered projections; single and multiple ordering fields; and newer, equal, older and null delete sequences. - Spark 3.5.8 `DeleteFromTableTest` and `V2DeleteFromTableTest`: all 64 tests passed. The new regression uses two independent field-group writes and an explicit delete record, then checks full-row, count, key-only and other-group reads. - Checkstyle, Spotless, compilation and `git diff --check` passed. -- 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]
