Skip to content

Update documentation for datafusion.execution.collect_statistics #16100

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

Merged
merged 9 commits into from
May 20, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented May 19, 2025

Which issue does this PR close?

Rationale for this change

I have gotten confused several times that the collect_statistics setting only applies when first creating a ListingTable (it doesn't affect queries afterwards). Let's make this clearer in the documentation

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Only documentation

@alamb alamb added the documentation Improvements or additions to documentation label May 19, 2025
@@ -292,7 +292,9 @@ config_namespace! {
/// target batch size is determined by the configuration setting
pub coalesce_batches: bool, default = true

/// Should DataFusion collect statistics after listing files
/// Should DataFusion collect statistics when first creating a table.
Copy link
Member

Choose a reason for hiding this comment

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

Thank you @alamb

This doc will definitely help a lot!!! (I also have been confused for many times)

@github-actions github-actions bot added sqllogictest SQL Logic Tests (.slt) common Related to common crate labels May 19, 2025
@alamb
Copy link
Contributor Author

alamb commented May 19, 2025

@alamb alamb merged commit 8d9c0f6 into apache:main May 20, 2025
28 checks passed
@alamb
Copy link
Contributor Author

alamb commented May 20, 2025

Thank @leoyvens @xudong963 and @findepi

@alamb alamb deleted the alamb/update_config_docs branch May 20, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate documentation Improvements or additions to documentation sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants