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 tpc-h parquet setting to respect global options #12405

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

XiangpengHao
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

Current tpc-h benchmark parquet format setting uses a default value, which ignores global parquet settings, which lead to inconsistent runtime behaviors.

This pr fixes this by inherting the global settings.

What changes are included in this PR?

Sutble bug, easy to fix but difficult to diagnose. Maybe we should consider change the api to avoid misuse as well.

Are these changes tested?

Are there any user-facing changes?

@@ -268,7 +268,8 @@ impl RunOpt {
}
"parquet" => {
let path = format!("{path}/{table}");
let format = ParquetFormat::default().with_enable_pruning(true);
let format = ParquetFormat::default()
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb alamb merged commit 29babce into apache:main Sep 10, 2024
24 checks passed
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