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

fix: enable parquet pushdown for DeltaScan via TableProvider impl for DeltaTable (rebase) #2637

Merged
merged 4 commits into from
Jun 30, 2024

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented Jun 29, 2024

Description

The DeltaScanBuilder used by DeltaTable's TableProvider impl does not specify DeltaScanConfig. The builder uses Default for DeltaScanConfig and thus enable_parquet_pushdown is disabled.

This change makes it so DeltaScanConfig is an Option on the scan builder. If unset during build a default value will be created using the DeltaScanConfigBuilder rather than DeltaScanConfig::Default. The former has enable_parquet_pushdown defaulted to true. I considered changing the latter but it is used in a couple other places where I was not sure of the impact.

Related Issue(s)

Documentation

This is a rebase and closes the outstanding 💥 pull request from @alexwilcoxson-rel

closes #2618

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Jun 29, 2024
@rtyler rtyler marked this pull request as ready for review June 29, 2024 21:36
@rtyler rtyler enabled auto-merge (rebase) June 29, 2024 21:36
@rtyler
Copy link
Member Author

rtyler commented Jun 30, 2024

I'm going to go ahead and merge this, since I approved the original PR

@rtyler rtyler merged commit 16c31fe into delta-io:main Jun 30, 2024
18 of 19 checks passed
@rtyler rtyler deleted the rebase-of-2618 branch June 30, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants