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

Minor: pass ParquetFileMetrics to build_row_filter in parquet #4161

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Nov 9, 2022

Which issue does this PR close?

re #3463

Rationale for this change

Continue a somewhat OCD quest to get the parquet code to be internally consistent in structure

What changes are included in this PR?

Change arguments to an internal function to match other modules

Are these changes tested?

Covered by existing tests

Are there any user-facing changes?

No.

@alamb alamb marked this pull request as ready for review November 9, 2022 22:26
@alamb alamb requested a review from Ted-Jiang November 9, 2022 22:26
@github-actions github-actions bot added the core Core DataFusion crate label Nov 9, 2022
@@ -414,8 +414,7 @@ impl FileOpener for ParquetOpener {
table_schema.as_ref(),
builder.metadata(),
reorder_predicates,
&file_metrics.pushdown_rows_filtered,
&file_metrics.pushdown_eval_time,
&file_metrics,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

it was just bothering me for some reason that this was different than prune_row_groups and build_page_filter

Copy link
Member

Choose a reason for hiding this comment

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

Keep align is necessary. Will keep in mind in future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(to be clear I was the one who wrote the original code that was not consistent -- so I need to keep it in mind :) )

@Ted-Jiang Ted-Jiang merged commit 30813dc into apache:master Nov 10, 2022
@ursabot
Copy link

ursabot commented Nov 10, 2022

Benchmark runs are scheduled for baseline = da76feb and contender = 30813dc. 30813dc is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@alamb alamb deleted the alamb/use_file_metrics branch November 10, 2022 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants