zanmato1984 commented on code in PR #42106:
URL: https://github.com/apache/arrow/pull/42106#discussion_r1635725877


##########
cpp/src/arrow/compute/expression.h:
##########
@@ -56,6 +59,9 @@ class ARROW_EXPORT Expression {
     const Kernel* kernel = NULLPTR;
     std::shared_ptr<KernelState> kernel_state;
     TypeHolder type;
+    // Whether the entire call (including all its arguments) is 
selection-vector-aware
+    bool selection_vector_aware = false;
+    std::shared_ptr<SpecialForm> special_form = NULLPTR;

Review Comment:
   Yeah, a kernel will claim itself as `selection_vector_aware` here: 
https://github.com/apache/arrow/pull/42106/files#diff-c275e8c64a3935e84eaf970584e61b0d3db88fa5b052965505edf8126526c80eR527-R532
   if it has special execution path to deal with the given selection vector 
directly.



-- 
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]

Reply via email to