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

Port tests in joins.rs to sqllogictes #6642

Merged
merged 3 commits into from
Jun 13, 2023

Conversation

jiangzhx
Copy link
Contributor

@jiangzhx jiangzhx commented Jun 12, 2023

Which issue does this PR close?

Closes #6302.
Subtask of #6195

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@jiangzhx jiangzhx marked this pull request as draft June 12, 2023 04:14
@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Jun 12, 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.

Thank you @jiangzhx -- this look great to me.

cc @aprimadi and @mingmwang

.unwrap();
}

pub async fn register_hashjoin_datatype_table(ctx: &SessionContext) {
Copy link
Contributor

Choose a reason for hiding this comment

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

likewise we could port this to .sql as well

Copy link
Contributor

Choose a reason for hiding this comment

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

I had some time so I made a PR to do this in #6656

@@ -212,3 +220,311 @@ fn register_nan_table(ctx: &SessionContext) {
.unwrap();
ctx.register_batch("test_float", data).unwrap();
}

pub async fn register_timestamps_table(ctx: &SessionContext) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is code we can potentially port to sql (using arrow-typeof), but we can also handle that as a follow on PR too

@alamb alamb merged commit 3fc009b into apache:main Jun 13, 2023
@alamb alamb added the development-process Related to development process of DataFusion label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate development-process Related to development process of DataFusion sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port tests in joins.rs to sqllogictest
2 participants