vitalybuka commented on a change in pull request #11633:
URL: https://github.com/apache/arrow/pull/11633#discussion_r744146939



##########
File path: cpp/src/arrow/compute/kernels/vector_sort.cc
##########
@@ -1153,7 +1153,10 @@ class TableSorter {
 // ----------------------------------------------------------------------
 // Top-level sort functions
 
-const auto kDefaultSortOptions = SortOptions::Defaults();
+static const ArraySortOptions* GetDefaultArraySortOptions() {
+  static const auto kDefaultArraySortOptions = ArraySortOptions::Defaults();

Review comment:
       Done.




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