neilconway opened a new pull request, #26567:
URL: https://github.com/apache/datafusion/pull/26567

   ## Which issue does this PR close?
   
   - N/A
   
   ## Rationale for this change
   
   Arrow 60 added `value_field()` to `GenericListArray`, `GenericListViewArray` 
and `FixedSizeListArray`. It returns the field that describes the list's 
elements.
   
   This PR adopts this new API more broadly, which enables removing some 
boilerplate and simplifying a few APIs.
   
   ## What changes are included in this PR?
   
   * Call `value_field` instead of matching on `data_type` directly
   * Update various APIs that passed both a typed list array along with a 
separate element field; the latter can be omitted
   
   ## What is the testing strategy for this PR?
   
   Existing tests pass.
   
   ## Are there any user-facing changes?
   
   No behavior changes.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to