R-JunmingChen commented on issue #35268:
URL: https://github.com/apache/arrow/issues/35268#issuecomment-1620411919

   > Yes. But, luckily, in this case the functions should already exist: 
https://gist.github.com/westonpace/a45738e5a356324d410cba2c2713b1fd
   
   No, the compare Functions currently don't support comparing between single 
elements in array. Like  `a_array->data()->GetValues<CType>(a_indice) > 
b_array->data()-><Ctype>GetValues(b_indice)`. These Function can be used to 
compare two array entirely. But merge sort only need to compare the min/max 
keys between different arrays, comparing the entire arrays is too costly.
   
   


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