Skip to content

Commit 4048db2

Browse files
author
Rafał Hibner
committed
Fix
1 parent 73f04d9 commit 4048db2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/compute/kernels/aggregate_tdigest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ struct TDigestCentroidTypeMatcher : public TypeMatcher {
397397
if (Type::FIXED_SIZE_LIST == input_struct_type.field(0)->type()->id() &&
398398
input_struct_type.field(0)->type()->Equals(
399399
input_struct_type.field(1)->type()) &&
400-
Type::UINT64 == input_struct_type.field(2)->type()->id() &&
400+
Type::DOUBLE == input_struct_type.field(2)->type()->id() &&
401401
Type::DOUBLE == input_struct_type.field(3)->type()->id() &&
402-
Type::DOUBLE == input_struct_type.field(4)->type()->id()) {
402+
Type::UINT64 == input_struct_type.field(4)->type()->id()) {
403403
auto fsl = checked_cast<const FixedSizeListType*>(
404404
input_struct_type.field(0)->type().get());
405405
return fsl->list_size();

0 commit comments

Comments
 (0)