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

minor: refactor UnaryExpr handling to make code more concise #1065

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

N/A

Rationale for this change

Following up from this comment in a recent PR, I wanted to explore the suggestion some more.

What changes are included in this PR?

Refactor UnaryExpr handling in QueryPlanSerde to make it more concise, but at the cost of increased complexity.

I am looking for feedback if this is a good direction or not (I do not have a strong opinion either way). If we do like this approach then I can follow up to apply this to BinaryExpr and MathExpr as well.

How are these changes tested?

Existing tests

Copy link
Contributor

@kazuyukitanimura kazuyukitanimura left a comment

Choose a reason for hiding this comment

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

Thanks for following up

@viirya viirya merged commit d1d57c6 into apache:main Nov 8, 2024
74 checks passed
@viirya
Copy link
Member

viirya commented Nov 8, 2024

Thanks @andygrove @kazuyukitanimura

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

Successfully merging this pull request may close these issues.

3 participants