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

Support crossjoin in substrait. #8427

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

my-vegetable-has-exploded
Copy link
Contributor

Which issue does this PR close?

ref: #8149

Closes #.

Rationale for this change

part of #8149.

What changes are included in this PR?

Translate cross product to LogicalPlan::CrossJoin.

Are these changes tested?

Are there any user-facing changes?

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 for the contribution @my-vegetable-has-exploded this looks great to me. I had a small suggestion to improve the code but I don't think it is necessary

datafusion/substrait/src/logical_plan/producer.rs Outdated Show resolved Hide resolved
@waynexia waynexia self-requested a review December 6, 2023 09:45
Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

Rest LGTM, thanks @my-vegetable-has-exploded

datafusion/substrait/src/logical_plan/consumer.rs Outdated Show resolved Hide resolved
@waynexia waynexia merged commit 0d7cab0 into apache:main Dec 6, 2023
22 checks passed
@my-vegetable-has-exploded my-vegetable-has-exploded deleted the crossjoin-substrait branch December 6, 2023 12:33
@alamb
Copy link
Contributor

alamb commented Dec 6, 2023

🎉

appletreeisyellow pushed a commit to appletreeisyellow/datafusion that referenced this pull request Dec 15, 2023
* Support crossjoin in substrait.

* use struct destructuring

* remove useless builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants