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

Improve sql integration test organization #2333

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Apr 25, 2022

Which issue does this PR close?

re #2328

Minor follow on to #2329

Rationale for this change

@WinkerDu moved most of the tests out of context ❤️ into sql_integ test which is a much better place. However I think some of the tests could be in slightly different modules.

What changes are included in this PR?

Move some code around, no functional changes intended

Are there any user-facing changes?

No, test only change

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label Apr 25, 2022
@@ -496,53 +496,49 @@ async fn group_by_date_trunc() -> Result<()> {

#[tokio::test]
async fn group_by_largeutf8() {
{
let ctx = SessionContext::new();
let ctx = SessionContext::new();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change just removes an extra level of (unecessary) indent

It is easier to see the change with https://github.com/apache/arrow-datafusion/pull/2333/files?w=1

@alamb alamb changed the title Improve sql_integ test organization Improve sql integration test organization Apr 25, 2022
Copy link
Member

@xudong963 xudong963 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

@yjshen yjshen merged commit cc496f8 into apache:master Apr 25, 2022
@alamb alamb deleted the alamb/test_tweaks branch August 8, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants