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.
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 inQueryPlanSerde
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
andMathExpr
as well.How are these changes tested?
Existing tests