adriangb commented on code in PR #19050:
URL: https://github.com/apache/datafusion/pull/19050#discussion_r2603223605
##########
datafusion/physical-expr/src/expressions/in_list.rs:
##########
@@ -355,6 +386,57 @@ impl InListExpr {
Some(instantiate_static_filter(array)?),
))
}
+
+ /// Create a new InList expression with a static filter for constant list
expressions.
+ ///
+ /// This validates data types, evaluates the list as constants, and uses
specialized
+ /// StaticFilter implementations for better performance (e.g.,
Int32StaticFilter for Int32).
+ ///
+ /// Returns an error if data types don't match or if the list contains
non-constant expressions.
Review Comment:
thanks updated
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]