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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to