Skip to content

Conversation

@CuteChuanChuan
Copy link
Contributor

Which issue does this PR close?

Part of #16915

Rationale for this change

Format code examples in documentation comments to improve readability and maintain consistent code style across the codebase. This is part of a multi-PR effort to format all doc comment examples and eventually enable CI checks to enforce this formatting.

What changes are included in this PR?

Run cargo fmt -p <crate> -- --config format_code_in_doc_comments=true for the following datasource-related crates:

  • datafusion-physical-expr
  • datafusion-physical-expr-adapter
  • datafusion-physical-expr-common
  • datafusion-physical-optimizer
  • datafusion-physical-plan

Additionally, add some spaces to maintain the ASCII art indentation.

Are these changes tested?

No testing needed - this is purely a formatting change with no functional modifications.

Are there any user-facing changes?

No - this only affects documentation formatting.

@github-actions github-actions bot added physical-expr Changes to the physical-expr crates optimizer Optimizer rules physical-plan Changes to the physical-plan crate labels Oct 29, 2025
@CuteChuanChuan
Copy link
Contributor Author

I see the CI failed. Let me investigate the error and will fix it shortly.

@alamb
Copy link
Contributor

alamb commented Nov 1, 2025

@CuteChuanChuan do you have time to polish this PR up and get it ready for review?

@alamb
Copy link
Contributor

alamb commented Nov 1, 2025

❤️

@alamb alamb enabled auto-merge November 1, 2025 12:44
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you!

@alamb alamb added this pull request to the merge queue Nov 1, 2025
Merged via the queue into apache:main with commit 73038f5 Nov 1, 2025
32 checks passed
@CuteChuanChuan CuteChuanChuan deleted the raymond/16915-format-physical-expr-optimizer-and-plan branch November 1, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimizer Optimizer rules physical-expr Changes to the physical-expr crates physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants