p-a-a-a-trick commented on code in PR #38075:
URL: https://github.com/apache/arrow/pull/38075#discussion_r1350572638
##########
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:
Okay, changing and updating the tests in pyarrow that need updating (I don't
know if this will affect downstream tests for other subprojects)
--
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]