You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "XiaoHongbo-Hope (via GitHub)" <gi...@apache.org> on 2026/05/27 13:40:57 UTC
[PR] [python] Fix duplicate /snapshot REST call in plan flow [paimon]
XiaoHongbo-Hope opened a new pull request, #7997:
URL: https://github.com/apache/paimon/pull/7997
### Purpose
A single plan issues 2 GET /snapshot round-trips to the metastore because
file_scanner.manifest_scanner and GlobalIndexScanner.create independently
fetch latest snapshot.
This PR fixes the issue by fetching snapshot once in file_scanner and
threading it through _eval_global_index -> GlobalIndexScanner.create.
### Backward compatible — no design break
`GlobalIndexScanner.create()` stays self-contained for ad-hoc / standalone
use. The new `snapshot` argument is **optional**.
Tests
`PlanSnapshotFetchRegressionTest.test_plan_fetches_latest_snapshot_only_once`
--
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 duplicate /snapshot REST call in plan flow [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #7997:
URL: https://github.com/apache/paimon/pull/7997
--
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 duplicate /snapshot REST call in plan flow [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #7997:
URL: https://github.com/apache/paimon/pull/7997#issuecomment-4562707758
+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