chenjian2664 opened a new pull request, #10959: URL: https://github.com/apache/paimon/pull/10959
### Purpose Fixes #9264. On an append table with `row-tracking.enabled` but no data evolution, a filter on `_ROW_ID` or `_SEQUENCE_NUMBER` (for example `SELECT * FROM t$row_tracking WHERE _ROW_ID = 0`) breaks the read. Scan planning fails with `AssertionError: index (2) should < 2`, or `Find no field _ROW_ID` after a schema change. When planning gets through, the file reader prunes every row and returns nothing. These values come from file metadata, not from file stats or columns. Such filters now stay out of stats and format pushdown and are evaluated on rows, as data evolution tables already do. ### Tests -- 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]
