Skip to content
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

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Jul 18, 2024

Add support for more comparisons and add recursive validation logic for expressions.

@AdamGS AdamGS requested review from a10y and gatesn July 18, 2024 09:34
@AdamGS AdamGS force-pushed the adamg/expand-pushdown-support branch from 098fd7c to b6a80bc Compare July 18, 2024 10:03
vortex-datafusion/src/eval.rs Outdated Show resolved Hide resolved
vortex-datafusion/src/lib.rs Outdated Show resolved Hide resolved
let rhs = ExpressionEvaluator::eval(array.clone(), rhs)?;
compare(&lhs, &rhs, Operator::Eq)
}
DFOperator::Eq => compare(&lhs, &rhs, Operator::Eq),
Copy link
Contributor

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?

Copy link
Contributor Author

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

vortex-datafusion/src/eval.rs Outdated Show resolved Hide resolved
@AdamGS AdamGS enabled auto-merge (squash) July 18, 2024 11:45
@AdamGS AdamGS disabled auto-merge July 18, 2024 11:45
@AdamGS AdamGS enabled auto-merge (squash) July 18, 2024 11:45
@AdamGS AdamGS disabled auto-merge July 18, 2024 11:51
@robert3005 robert3005 closed this Jul 18, 2024
@robert3005 robert3005 reopened this Jul 18, 2024
@gatesn gatesn enabled auto-merge (squash) July 18, 2024 11:53
@gatesn gatesn merged commit 31a706a into develop Jul 18, 2024
3 checks passed
@gatesn gatesn deleted the adamg/expand-pushdown-support branch July 18, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants