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

Unify formatting of both groups and files up to 5 elements #6637

Merged
merged 1 commit into from
Jun 11, 2023

Conversation

qrilka
Copy link
Contributor

@qrilka qrilka commented Jun 11, 2023

This fixes inconsistency between rustdocs for Display of files and file groups by applying the same function formatting up to 5 elements. Also adds corresponding unit tests.
Also this is useful for the upcoming fix of #6383

Which issue does this PR close?

No concrete issue but a minor comment from the already merged PR

Rationale for this change

This seems to address minor issue in the previous PR

What changes are included in this PR?

As described above

Are these changes tested?

New tests are included in the PR

Are there any user-facing changes?

This changes file group formatting - now it's limited up to 5 files

This fixes inconsistency between rustdocs for Display of files and
file groups by applying the same function formatting up to 5
elements. Also adds corresponding unit tests.
@github-actions github-actions bot added the core Core DataFusion crate label Jun 11, 2023
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.

This change makes sense to me and the code looks good. Thank you @qrilka ❤️

@alamb alamb merged commit 708044c into apache:main Jun 11, 2023
jayzhan211 pushed a commit to jayzhan211/datafusion that referenced this pull request Jun 12, 2023
This fixes inconsistency between rustdocs for Display of files and
file groups by applying the same function formatting up to 5
elements. Also adds corresponding unit tests.
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.

2 participants