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

   ### Backend
   
   CH (ClickHouse)
   
   ### Bug description
   
   [Expected behavior] and [actual behavior].
   
   We have an expression `if(a, x, y)`,  where `x` and `y` have types
   ```
   x: Map(String, Tuple(sixty_days Tuple(num1 Nullable(Int32),num2 
Nullable(Int32))
   y: Map(String, Tuple(sixty_days Tuple(num1 Nullable(Int32),num2 
Nullable(Int32))
   ```
   but the result type of the `if` expression is
   ```
   Map(String, Tuple(Tuple(num1 Nullable(Int32),num2 Nullable(Int32))
   ```
   The diff is caused by `DB::getLeastSupertype`, which is used to determine 
the result type.
   
   ### 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