p-a-a-a-trick commented on code in PR #38075:
URL: https://github.com/apache/arrow/pull/38075#discussion_r1350591554
##########
cpp/src/arrow/compute/kernels/vector_selection_filter_internal.cc:
##########
@@ -998,6 +998,11 @@ class FilterMetaFunction : public MetaFunction {
Result<Datum> ExecuteImpl(const std::vector<Datum>& args,
const FunctionOptions* options,
ExecContext* ctx) const override {
+ if ((args[1].kind() != Datum::ARRAY) &&
+ (args[1].kind() != Datum::CHUNKED_ARRAY)) {
+ return Status::NotImplemented("Filter should be array-like");
Review Comment:
Looks like it didn't affect anything on the pyarrow/pytest side of things.
Changed!
--
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]