Skip to content

Commit

Permalink
Enable instantiation of REExREE filters for all types
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Apr 10, 2023
1 parent 82e8095 commit ed4aafe
Showing 1 changed file with 24 additions and 28 deletions.
52 changes: 24 additions & 28 deletions cpp/src/arrow/compute/kernels/vector_run_end_selection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -539,34 +539,30 @@ Result<std::unique_ptr<REEFilterExec>> MakeREExREEFilterExec(
case Type::INTERVAL_DAY_TIME:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, UInt64Type>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::INTERVAL_MONTH_DAY_NANO:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, MonthDayNanoIntervalType>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::DECIMAL128:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, Decimal128Type>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::DECIMAL256:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, Decimal256Type>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::FIXED_SIZE_BINARY:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, FixedSizeBinaryType>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::STRING:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, StringType>(values, filter,
// values_run_end_type,
// filter_run_end_type,
// null_selection);
// case Type::BINARY:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, BinaryType>(values, filter,
// values_run_end_type,
// filter_run_end_type,
// null_selection);
// case Type::LARGE_STRING:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, LargeStringType>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
// case Type::LARGE_BINARY:
// return MakeREEFilterExecImpl<REExREEFilterExecImpl, LargeBinaryType>(
// values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::INTERVAL_MONTH_DAY_NANO:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, MonthDayNanoIntervalType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::DECIMAL128:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, Decimal128Type>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::DECIMAL256:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, Decimal256Type>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::FIXED_SIZE_BINARY:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, FixedSizeBinaryType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::STRING:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, StringType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::BINARY:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, BinaryType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::LARGE_STRING:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, LargeStringType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
case Type::LARGE_BINARY:
return MakeREEFilterExecImpl<REExREEFilterExecImpl, LargeBinaryType>(
values, filter, values_run_end_type, filter_run_end_type, null_selection);
default:
DCHECK(false);
return Status::NotImplemented(
Expand Down

0 comments on commit ed4aafe

Please sign in to comment.