8000 feat: add missing PyLogicalPlan to_variant by chenkovsky · Pull Request #1085 · apache/datafusion-python · GitHub
[go: up one dir, main page]

Skip to content

feat: add missing PyLogicalPlan to_variant #1085

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

Merged
merged 16 commits into from
May 5, 2025

Conversation

chenkovsky
Copy link
Contributor
@chenkovsky chenkovsky commented Mar 26, 2025

Which issue does this PR close?

Rationale for this change

Some LogicalPlans don't support to_variant now.

we are using datafusion in parsing sql into logical plan, analysis and do some transformation on logical plan, then unparsing the logical plan into sql. But I found that it will throw error when the logical plan is not supported. so I added the missing to_variant support.

What changes are included in this PR?

add python bindings for these classes.

Are there any user-facing changes?

No

@timsaucer
Copy link
Contributor
timsaucer commented Mar 30, 2025

This is a really big PR and it's not immediately obvious to me what problem it's trying to solve. Can you expand the description or at least link it to an issue describing the problem?

@chenkovsky
Copy link
Contributor Author

This is a really big PR and it's not immediately obvious to me what problem it's trying to solve. Can you expand the description or at least link it to an issue describing the problem?

@timsaucer
I updated the description. we are analysing logical plan with datafusion. that's why we need complete to_variant support.

@timsaucer
Copy link
Contributor

I'm sorry it took me so long to get around to reviewing this. Thank you for the contribution!

@timsaucer timsaucer merged commit 15b96c4 into apache:main May 5, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
41CE
Development

Successfully merging this pull request may close these issues.

2 participants
0