hailin0 opened a new issue, #9295:
URL: https://github.com/apache/seatunnel/issues/9295

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Currently, in the SQL conversion of SeaTunnel, the `COALESCE(args0, args1, 
args2, ...)` function does not support casting args1 or args2 to the type of 
args0.
   
   For example, args0 is of string type, args1 is of int type, and args2 is of 
double type, which will cause the wrong data type to be passed to the 
downstream. We should cast the data to the type indicated by args0(string).
   
   
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to