realAaronWu opened a new pull request, #588:
URL: https://github.com/apache/paimon-cpp/pull/588

   ### Purpose
   
   Linked issue: close #587
   
   Load filesystem snapshots into a buffer allocated from the scan's custom 
memory pool. Request the buffer before reading the snapshot so the caller's 
remaining budget applies to the input bytes. Return a resource error if the 
pool refuses the allocation.
   
   ### Tests
   
   The regression exercises `CreatePlan()` with a snapshot larger than the 
pool's remaining capacity. It checks refusal before reading, explicit stream 
closure, cleanup after malformed JSON and a short read, and successful 
replanning with a fresh scan using the same pool.
   
   ### API and Format
   
   Updated the `WithMemoryPool()` documentation. C++ signatures and persistent 
formats are unchanged.
   
   ### Documentation
   
   The scan context documents pool-backed loading of numbered snapshot files.
   
   ### Generative AI tooling
   
   Generated-by: OpenAI Codex (GPT-6)
   


-- 
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