carpecodeum opened a new pull request, #8166:
URL: https://github.com/apache/arrow-rs/pull/8166

   # Which issue does this PR close?
   
   - Closes #8150
   
   # Rationale for this change
   
   Support variant_get for any input (shredded or otherwise), any depth of 
object field path steps, and casting to one primitive data type, eg. 
Some(DataType::Int32). This is build on top of changes in 
https://github.com/apache/arrow-rs/pull/8122
   
   # What changes are included in this PR?
   
   Add support for extracting fields from both shredded and non-shredded 
variant arrays at any depth (like "x", "a.x", "a.b.x") and casting them to 
Int32 with proper NULL handling for type mismatches.
   
   # Are these changes tested?
   
   Yes, tests are added for non-shredded vs shredded inputs at depths 0, 1, and 
2
   
   # Are there any user-facing changes?
   
   not yet
   
   Thanks to @mprammer 🥷


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