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

[SPARK-46885][SQL] Push down filters through TypedFilter #44911

Closed
wants to merge 2 commits into from

Conversation

wangyum
Copy link
Member

@wangyum wangyum commented Jan 27, 2024

What changes were proposed in this pull request?

This PR enhances PushPredicateThroughNonJoin to make it support pushing down filters through TypedFilter.

Why are the changes needed?

Pushed filters can be pushed down to file scanning to improve query performance.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit test,

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the SQL label Jan 27, 2024
@wangyum
Copy link
Member Author

wangyum commented Jan 28, 2024

cc @cloud-fan

@@ -1836,6 +1836,7 @@ object PushPredicateThroughNonJoin extends Rule[LogicalPlan] with PredicateHelpe
case _: BatchEvalPython => true
case _: ArrowEvalPython => true
case _: Expand => true
case _: TypedFilter => true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, what if the filter lambda function is non-deterministic?

Copy link

github-actions bot commented May 9, 2024

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label May 9, 2024
@github-actions github-actions bot closed this May 10, 2024
@wangyum wangyum deleted the SPARK-46885 branch May 11, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants