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

   ## Which issue does this PR close?
   
   - Closes #25082.
   
   ## Rationale for this change
   
   `get_field` has two map lookup paths:
   
   * `process_map_with_nested_key` uses a comparator and works for all key types
   * `process_map_array` uses the `eq` kernel, and therefore does not support 
map keys that are nested types (e.g., lists).
   
   The previous implementation arranged to call `process_map_with_nested_key` 
for map-typed keys, but that was too narrow: this path should be taken for 
list- and struct-typed keys as well.
   
   ## What changes are included in this PR?
   
   * Route every nested key type through `process_map_with_nested_key`
   * Add unit test and SLTs
   
   ## What is the testing strategy for this PR?
   
   Existing tests pass; new test cases added.
   
   ## Are there any user-facing changes?
   
   No, aside from addressing the bug.
   


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