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

Second batch of updating sql tests to use assert_batches_eq #1180

Conversation

matthewmturner
Copy link
Contributor

@matthewmturner matthewmturner commented Oct 26, 2021

Which issue does this PR close?

Continued work on #743 task 2

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label Oct 26, 2021
@@ -2102,6 +2116,8 @@ async fn equijoin_and_other_condition() -> Result<()> {
let sql =
"SELECT t1_id, t1_name, t2_name FROM t1 JOIN t2 ON t1_id = t2_id AND t2_name >= 'y' ORDER BY t1_id";
let actual = execute(&mut ctx, sql).await;
// let a = execute_to_batches(&mut ctx, sql).await;
// println!("{}", pretty_format_batches(&a).unwrap());
Copy link
Member

Choose a reason for hiding this comment

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

can you either remove this or put a todo on what to do next?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i just caught up the tracking comment that is used for test porting:

// --- End Test Porting ---

Let me know when you think its enough updates on this batch / PR to merge and ill clean up those helpers so it can be merged.

@matthewmturner
Copy link
Contributor Author

@alamb this should be good amount for another batch - when you get the chance can you give it a review?

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.

Looking great -- thank you @matthewmturner

@alamb alamb merged commit a4f4de8 into apache:master Nov 2, 2021
@houqp houqp added the development-process Related to development process of DataFusion label Nov 6, 2021
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 development-process Related to development process of DataFusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants