You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're handling certain aggregate functions incorrectly.
If the aggregate is within a separate ValueOp, like the below somecol.sum() / sumcol.sum() then we hit
TypeError: Parameter to MergeFrom() must be instance of same class: expected substrait.ibis.Expression got substrait.ibis.AggregateFunction.
because we're recursing down into the expression, but the AggregateRel needs to be handled outside of the current expression (i'm not exactly sure how at this point)
What happened?
We're handling certain aggregate functions incorrectly.
If the aggregate is within a separate ValueOp, like the below
somecol.sum() / sumcol.sum()
then we hitbecause we're recursing down into the expression, but the AggregateRel needs to be handled outside of the current expression (i'm not exactly sure how at this point)
Here's a failing test case:
What version of ibis-substrait are you using?
2.21.0
What substrait consumer(s) are you using, if any?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: