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

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

Reply via email to