sdf-jkl opened a new pull request, #11989:
URL: https://github.com/apache/arrow-rs/pull/11989

   # Which issue does this PR close?
   
   Follow-up to #11961.
   
   # Rationale for this change
   
   The metadata writer and empty metadata bytes still hardcode version `1`, 
despite the shared `VARIANT_SPEC_VERSION` introduced in #11961.
   
   # What changes are included in this PR?
   
   Use `VARIANT_SPEC_VERSION` in `WritableMetadataBuilder::finish` and 
`EMPTY_VARIANT_METADATA_BYTES` so metadata encoding uses the same constant as 
validation and the Parquet annotation.
   
   # Are these changes tested?
   
   Existing metadata builder tests and empty metadata doctests cover the 
substitutions; no new tests are needed. Variant and workspace tests, Clippy, 
formatting, and spelling checks pass.
   
   # Are there any significant user-facing changes?
   
   No. The encoded bytes are unchanged.
   
   # AI Use
   
   Patch and description prepared with AI assistance.
   


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