You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "sundapeng (via GitHub)" <gi...@apache.org> on 2026/07/10 09:48:15 UTC
[PR] [python] Fix mock REST snapshot serialization [paimon]
sundapeng opened a new pull request, #8546:
URL: https://github.com/apache/paimon/pull/8546
### Purpose
The PyPaimon mock REST server rewrote committed snapshots by constructing a partial JSON payload. For row-tracking/data-evolution commits, this could lose the snapshot's real manifest list paths and persisted record counts, so later reads only saw the newest commit instead of all committed rows.
This PR persists the original `Snapshot` object with the shared JSON serializer, keeping the mock REST snapshot files consistent with the committed snapshot metadata.
### Tests
- `python -m pytest -q paimon-python/pypaimon/tests/rest/rest_catalog_commit_snapshot_test.py::TestRESTCommit::test_multiple_row_tracking_commits_preserve_all_rows`
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python] Fix mock REST snapshot serialization [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8546:
URL: https://github.com/apache/paimon/pull/8546
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python] Fix mock REST snapshot serialization [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8546:
URL: https://github.com/apache/paimon/pull/8546#issuecomment-4953908130
+1
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org