Jefffrey opened a new issue, #20151:
URL: https://github.com/apache/datafusion/issues/20151

   ### Is your feature request related to a problem or challenge?
   
   For MapArray we seem to hash all child values even if we slice only a subset:
   
   
https://github.com/apache/datafusion/blob/b80bf2ca8ef74900fee96a1cc169bdedf53b36fc/datafusion/common/src/hash_utils.rs#L483-L485
   
   Consider optimizing this to hash only the needed child values, similar to 
what #19500 does
   
   For union arrays, specifically sparse arrays, we hash all values of each 
child array:
   
   
https://github.com/apache/datafusion/blob/b80bf2ca8ef74900fee96a1cc169bdedf53b36fc/datafusion/common/src/hash_utils.rs#L611-L619
   
   Consider optimizing to hash only the needed values
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   Don't do these if regresses performance (or no noticeable impact)
   
   ### Additional context
   
   _No response_


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