You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/08 23:54:58 UTC

[GitHub] [arrow] kou commented on a change in pull request #8868: ARROW-10843: [C++] Add support for temporal types in sort family kernels

kou commented on a change in pull request #8868:
URL: https://github.com/apache/arrow/pull/8868#discussion_r538898690



##########
File path: cpp/src/arrow/compute/kernels/vector_sort.cc
##########
@@ -267,14 +267,19 @@ uint64_t* PartitionNulls(uint64_t* indices_begin, uint64_t* indices_end,
 // We need to preserve the options
 using PartitionNthToIndicesState = internal::OptionsWrapper<PartitionNthOptions>;
 
+// Convert string array to binary array and large string array to
+// large binary array. Because we want to reuse kernels for binary
+// array and large binary array to reduce generated codes.

Review comment:
       Ah, yes. We can reuse `Int*` code for temporal types.
   I didn't notice it.
   
   ARROW-10851




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org