-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand pushdown support with more comparison and logical operations #478
Conversation
098fd7c
to
b6a80bc
Compare
let rhs = ExpressionEvaluator::eval(array.clone(), rhs)?; | ||
compare(&lhs, &rhs, Operator::Eq) | ||
} | ||
DFOperator::Eq => compare(&lhs, &rhs, Operator::Eq), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we define a TryFrom<DFOperator> for Operator
? And then use that to check for support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And
and Or
don't really fit into how Operator
is designed right now with functions like to_predicate
or even inverse
Add support for more comparisons and add recursive validation logic for expressions.