Skip to content

[SPARK-48464][SQL][TESTS] Use withSQLConf in tests: Refactor SQLConfSuite and StatisticsSuite#46796

Closed
amaliujia wants to merge 1 commit intoapache:masterfrom
amaliujia:sql_config_3
Closed

[SPARK-48464][SQL][TESTS] Use withSQLConf in tests: Refactor SQLConfSuite and StatisticsSuite#46796
amaliujia wants to merge 1 commit intoapache:masterfrom
amaliujia:sql_config_3

Conversation

@amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

Use withSQLConf in tests when it is appropriate.

Why are the changes needed?

Enforce good practice for setting config in test cases.

Does this PR introduce any user-facing change?

NO

How was this patch tested?

Existing UT

Was this patch authored or co-authored using generative AI tooling?

NO

@github-actions github-actions bot added the SQL label May 29, 2024
Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

LGTM but are there a lot of instances left to fix? I think it's better to do them in batch

@HyukjinKwon HyukjinKwon changed the title [SPARK-48464][SQL][Tests] Use withSQLConf in tests: Refactor SQLConfSuite and StatisticsSuite [SPARK-48464][SQL][TESTS] Use withSQLConf in tests: Refactor SQLConfSuite and StatisticsSuite May 30, 2024
@amaliujia
Copy link
Contributor Author

@HyukjinKwon sure I will try to increase the size of such PR.

@HyukjinKwon
Copy link
Member

Merged to master.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants