abhishek593 commented on code in PR #49304:
URL: https://github.com/apache/arrow/pull/49304#discussion_r2964321189
##########
cpp/src/arrow/compute/kernels/vector_rank.cc:
##########
@@ -38,8 +38,9 @@ namespace {
// is the same as the value at the previous sort index.
constexpr uint64_t kDuplicateMask = 1ULL << 63;
-template <typename ValueSelector>
-void MarkDuplicates(const NullPartitionResult& sorted, ValueSelector&&
value_selector) {
+template <typename ArrowType, typename ValueSelector, typename IsNullSelector>
+void MarkDuplicates(const NullPartitionResult& sorted, ValueSelector&&
value_selector,
+ IsNullSelector&& is_null_selector) {
using T = decltype(value_selector(int64_t{}));
Review Comment:
@pitrou I have updated the PR with suggested changes.
--
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]