TheR1sing3un opened a new pull request, #10042: URL: https://github.com/apache/paimon/pull/10042
### Purpose Ray `read_by_row_id` fails with `Snapshot id '...' doesn't exist` when a tag retains a snapshot whose main metadata file has expired. The reader converted the tag to a snapshot ID and resolved that ID again during planning. Reuse the table's existing resolved-snapshot copy so planning and Ray workers carry the retained metadata and historical schema. A lazy Dataset keeps its captured snapshot even if the tag is replaced before execution. This also supports tags selected through `scan.version`. ### Tests - `pytest -q paimon-python/pypaimon/tests/ray_read_by_row_id_test.py`: 26 passed. - Regression coverage includes expired snapshot metadata, both tag selectors, schema evolution, duplicate row IDs, and tag replacement before lazy execution. - Flake8, changed-file license checks, Python 3.6 grammar checks, 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]
