Closed andygrove closed 2 weeks ago
N/A
This PR follows on from https://github.com/apache/datafusion-comet/pull/1053 which refactored BinaryExpr to reduce code duplication. This PR does the same for MathExpr and UnaryExpr.
BinaryExpr
MathExpr
UnaryExpr
Just refactoring to reduce code duplication. There are no functional changes.
Existing tests.
Which issue does this PR close?
N/A
Rationale for this change
This PR follows on from https://github.com/apache/datafusion-comet/pull/1053 which refactored
BinaryExpr
to reduce code duplication. This PR does the same forMathExpr
andUnaryExpr
.What changes are included in this PR?
Just refactoring to reduce code duplication. There are no functional changes.
How are these changes tested?
Existing tests.