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
When enabling columnar shuffle, a partial Spark aggregation could be upstream of a Comet final aggregation, because columnar shuffle could be the scan source of Comet native operator.
But there is query failure on SQLQuerySuite's SPARK-3176 Added Parser of SQL LAST() test.
I think this kind of issues will be more and more. Re-implementing such aggregation expressions in Comet seems taking too much cost on developing and maintaining. These cases are only happened if partial Spark aggregation cannot be transformed to Comet. In the failed query, it is because its upstream is not Comet plan. I think these cases are not what we care about mostly.
I think we should only have Comet final aggregation if the partial aggregation is Comet. It will simplify the things.
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
Related to #250.
When enabling columnar shuffle, a partial Spark aggregation could be upstream of a Comet final aggregation, because columnar shuffle could be the scan source of Comet native operator.
But there is query failure on
SQLQuerySuite
'sSPARK-3176 Added Parser of SQL LAST()
test.It is because the aggregation attributes (i.e.,
state
) of SparkLast
aggregation expression are different to DataFusion'sLast
aggregation expression.Spark
Last
has:DataFusion's
Last
:I think this kind of issues will be more and more. Re-implementing such aggregation expressions in Comet seems taking too much cost on developing and maintaining. These cases are only happened if partial Spark aggregation cannot be transformed to Comet. In the failed query, it is because its upstream is not Comet plan. I think these cases are not what we care about mostly.
I think we should only have Comet final aggregation if the partial aggregation is Comet. It will simplify the things.
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: