You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "R-JunmingChen (via GitHub)" <gi...@apache.org> on 2023/07/04 15:02:26 UTC
[GitHub] [arrow] R-JunmingChen commented on issue #35268: [C++] OrderBy with spillover
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org