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
While working on #403, one new test error happens:
- first/last *** FAILED *** (291 milliseconds)
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 17002.0 failed 1 times, most recent failure: Lost task 0.0 in stage 17002.0 (TID 49989) (1d885a59c17c executor driver): org.apache.comet.CometNativeException: Arrow error: Invalid argument error: column types must match schema types, expected Null but found Int32 at column index 0
The root cause of it is new design of aggregate expressions in DataFusion. Some aggregate expressions are now implemented using AggregateUDF. To create the physical aggregate expression (i.e., AggregateFunctionExpr ) for them, we need to call create_aggregate_expr API. But there is a circular relationship on the required arguments: apache/datafusion#10785. It makes Comet cannot determine correct input_phy_exprs so an incorrect return type is determined during the call to create_aggregate_expr.
To fix it, we may need to revamp the design in DataFusion.
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
While working on #403, one new test error happens:
The root cause of it is new design of aggregate expressions in DataFusion. Some aggregate expressions are now implemented using
AggregateUDF
. To create the physical aggregate expression (i.e.,AggregateFunctionExpr
) for them, we need to callcreate_aggregate_expr
API. But there is a circular relationship on the required arguments: apache/datafusion#10785. It makes Comet cannot determine correctinput_phy_exprs
so an incorrect return type is determined during the call tocreate_aggregate_expr
.To fix it, we may need to revamp the design in DataFusion.
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: