lgbo-ustc opened a new issue, #9594:
URL: https://github.com/apache/incubator-gluten/issues/9594

   ### Backend
   
   CH (ClickHouse)
   
   ### Bug description
   
   [Expected behavior] and [actual behavior].
   ```
   org.apache.spark.SparkException: Failed to merge incompatible data types 
string and bigint
        at 
org.apache.spark.sql.errors.QueryExecutionErrors$.cannotMergeIncompatibleDataTypesError(QueryExecutionErrors.scala:1056)
        at 
org.apache.spark.sql.types.StructType$.mergeInternal(StructType.scala:665)
        at 
org.apache.spark.sql.types.StructType$.unionLikeMerge(StructType.scala:572)
        at 
org.apache.spark.sql.catalyst.plans.logical.Union.$anonfun$output$7(basicLogicalOperators.scala:325)
        at 
scala.collection.IndexedSeqOptimized.reduceLeft(IndexedSeqOptimized.scala:60)
        at 
scala.collection.IndexedSeqOptimized.reduceLeft$(IndexedSeqOptimized.scala:76)
        at scala.collection.mutable.ArrayBuffer.reduceLeft(ArrayBuffer.scala:49)
        at scala.collection.TraversableOnce.reduce(TraversableOnce.scala:254)
        at scala.collection.TraversableOnce.reduce$(TraversableOnce.scala:254)
        at scala.collection.AbstractTraversable.reduce(Traversable.scala:108)
        at 
org.apache.spark.sql.catalyst.plans.logical.Union.$anonfun$output$4(basicLogicalOperators.scala:325)
        at 
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
        at 
scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
        at 
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
        at scala.collection.TraversableLike.map(TraversableLike.scala:286)
        at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
        at scala.collection.AbstractTraversable.map(Traversable.scala:108)
        at 
org.apache.spark.sql.catalyst.plans.logical.Union.output(basicLogicalOperators.scala:322)
        at 
org.apache.gluten.extension.JoinAggregateToAggregateUnion.buildAggregateOnUnion(JoinAggregateToAggregateUnion.scala:719)
   ```
   
   ### Gluten version
   
   _No response_
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to