viirya opened a new issue, #188:
URL: https://github.com/apache/arrow-datafusion-comet/issues/188
### Describe the bug
Currently, if there are Comet operators after `ReusedExchange`, Comet will
throw exception:
```
org.apache.comet.CometRuntimeException: No input for CometNativeExec:
CometSort [b#15145], [b#15145 ASC NULLS FIRST]
+- ReusedExchange [b#15145], CometColumnarExchange hashpartitioning(a#15143,
10), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=45057]
at
org.apache.spark.sql.comet.CometNativeExec.doExecuteColumnar(operators.scala:241)
at
org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:222)
at
org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:246)
at
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
at
org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:243)
at
org.apache.spark.sql.execution.SparkPlan.executeColumnar(SparkPlan.scala:218)
at
org.apache.spark.sql.execution.InputAdapter.doExecuteColumnar(WholeStageCodegenExec.scala:521)
at
org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:222)
at
org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:246)
at
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
```
### Steps to reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]