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

   ### Purpose
   
   When no snapshots remain and the next expected snapshot ID exceeds 1, the 
streaming scan dereferences an empty optional while formatting its range error, 
throwing std::bad_optional_access instead of returning Status::Invalid.
   
   Format the missing latest snapshot ID as null. Preserve existing range 
checks and snapshot lookup behavior.
   
   ### Tests
   
   - Added regression coverage for removed snapshots and range boundaries.
   - Seven isolated branch cases passed using real Result, Status, and fmt.
   - Test source compilation checks and pre-commit checks passed.
   - Full GoogleTest execution blocked by dependency download failures.
   
   ### API and Format
   
   No changes.
   
   ### Documentation
   
   Not required; bug fix only.
   
   ### 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