Skip to content

test: Add datafusion.format.* configs test coverage#21355

Open
erenavsarogullari wants to merge 1 commit intoapache:mainfrom
erenavsarogullari:datafusion_format_configs_tests
Open

test: Add datafusion.format.* configs test coverage#21355
erenavsarogullari wants to merge 1 commit intoapache:mainfrom
erenavsarogullari:datafusion_format_configs_tests

Conversation

@erenavsarogullari
Copy link
Copy Markdown
Member

Which issue does this PR close?

Rationale for this change

Currently, DataFusion supports 9 datafusion.format.* configs but their test coverage seem to be missed so this issue aims to add comprehensive test coverage for them. This is follow-up to recent config framework improvements: #20372 and #20816.

What changes are included in this PR?

New test coverage is being added for datafusion.format.* configs.

Are these changes tested?

Yes, new test coverage is being added for datafusion.format.* configs.

Are there any user-facing changes?

No

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Apr 4, 2026
Copy link
Copy Markdown
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.

Thanks @erenavsarogullari -- I think these are nice improvements in coverage. It would be even nicer to get some functional coverage too if they don't yet exist

## Test datafusion.format.* configurations ##
#############################################
query T
SELECT name FROM information_schema.df_settings WHERE name LIKE 'datafusion.format.%' ORDER BY name
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In addition to tests showing that they can be set/removed, how about also adding tests that run a function that is affected by them (e.g. select a date and then show that changing datafusion.format.date changes how they are displayed)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add datafusion.format.* configs test coverage

2 participants