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-26865][SQL] DataSourceV2Strategy should push normalized filters #648

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

rahij
Copy link

@rahij rahij commented Feb 27, 2020

Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)

Cherry picking apache#23770 in preparation for #647

What changes were proposed in this pull request?

This PR aims to make DataSourceV2Strategy normalize filters like FileSourceStrategy when it pushes them into SupportsPushDownFilters.pushFilters.

How was this patch tested?

Pass the Jenkins with the newly added test case.

Closes apache#23770 from dongjoon-hyun/SPARK-26865.

Authored-by: Dongjoon Hyun [email protected]
Signed-off-by: Dongjoon Hyun [email protected]

## What changes were proposed in this pull request?

This PR aims to make `DataSourceV2Strategy` normalize filters like [FileSourceStrategy](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategy.scala#L150-L158) when it pushes them into `SupportsPushDownFilters.pushFilters`.

## How was this patch tested?

Pass the Jenkins with the newly added test case.

Closes apache#23770 from dongjoon-hyun/SPARK-26865.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@rahij rahij requested review from robert3005 and rshkv February 27, 2020 17:46
@robert3005
Copy link

👍

@robert3005 robert3005 merged commit 7a85dae into master Mar 9, 2020
@robert3005 robert3005 deleted the rr/normalized-filters branch March 9, 2020 11:43
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.

4 participants