nil68657 opened a new pull request, #53259:
URL: https://github.com/apache/arrow/pull/53259

   ### Rationale for this change
   
   When the stored Arrow schema has dictionary<large_string> or
   dictionary<large_binary>, use that value type instead of the inferred
   narrow one. TransferDictionary already casts the decoded dictionary to
   the requested type.
   
   ### What changes are included in this PR?
   
   - `cpp/src/parquet/arrow/schema.cc`
   
   ### Are these changes tested?
   
   Yes. A regression test in 
`cpp/src/parquet/arrow/arrow_reader_writer_test.cc` fails without the change 
and passes with it; the surrounding test module/binary passes.
   
   ### Are there any user-facing changes?
   
   See the rationale above.
   
   ### Was AI used for this PR?
   
   This PR is a joint contribution from Nilanjan Chatterjee 
([@nil68657](https://github.com/nil68657)) and Claude (Claude Opus 5.5, via 
Claude Code). Nilanjan chose the issue and directed the work; Claude reproduced 
the bug, wrote the fix, the test and this description.
   
   **PR code and description written by:**
   
   - [ ] Human
   - [x] AI
   
   **Reviewed before submission by:**
   
   - [ ] Human
   - [x] AI
   - [ ] Not reviewed
   
   * GitHub Issue: #37875
   


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