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

   ### Purpose
   
   Refs #435.
   
   A synchronous managed table reader retains its read context throughout the 
scan. The supplied schema JSON is needed while the SDK resolves the table and 
constructs the typed readers. Release that JSON after the primary and optional 
fallback readers have initialized. Deferred query authorization retains its 
original context for its later read setup.
   
   This validation draft is for the stock Linux build and test matrix.
   
   ### Tests
   
   The regression rejects malformed supplied JSON even when the on-disk schema 
is valid. It checks that the managed context has discarded the serialized 
schema before opening a file, then reads a real Parquet batch using a stable 
field-ID projection.
   
   The fallback regression verifies that a supplied schema is available during 
fallback initialization when the main branch's schema file is absent. It also 
checks that the initialized fallback reader has released the JSON.
   
   ### API and Format
   
   Compatible with the existing public API and storage format.
   
   ### Documentation
   
   This change concerns the managed reader's internal lifetime.
   
   ### 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