We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ab2048 + 4048db2 commit b719670Copy full SHA for b719670
1 file changed
cpp/src/arrow/compute/kernels/aggregate_tdigest.cc
@@ -397,9 +397,9 @@ struct TDigestCentroidTypeMatcher : public TypeMatcher {
397
if (Type::FIXED_SIZE_LIST == input_struct_type.field(0)->type()->id() &&
398
input_struct_type.field(0)->type()->Equals(
399
input_struct_type.field(1)->type()) &&
400
- Type::UINT64 == input_struct_type.field(2)->type()->id() &&
+ Type::DOUBLE == input_struct_type.field(2)->type()->id() &&
401
Type::DOUBLE == input_struct_type.field(3)->type()->id() &&
402
- Type::DOUBLE == input_struct_type.field(4)->type()->id()) {
+ Type::UINT64 == input_struct_type.field(4)->type()->id()) {
403
auto fsl = checked_cast<const FixedSizeListType*>(
404
input_struct_type.field(0)->type().get());
405
return fsl->list_size();
0 commit comments