dhamotharan-ps commented on issue #8790:
URL: 
https://github.com/apache/arrow-datafusion/issues/8790#issuecomment-1886759571

   @alamb 
[Signature::uniform](https://docs.rs/datafusion/latest/datafusion/logical_expr/struct.Signature.html#method.uniform)
 is used for fixed number of arguments with same type where as variadic() is 
used for An arbitrary number of arguments with the same type. 
   
   To fix this issue, we need to add missing datatypes to 
conditional_expressions::SUPPORTED_COALESCE_TYPES. I will fix this issue. 
   
   ```
   pub static SUPPORTED_COALESCE_TYPES: &[DataType] = &[
       DataType::Boolean,
       DataType::UInt8,
       DataType::UInt16,
       DataType::UInt32,
       DataType::UInt64,
       DataType::Int8,
       DataType::Int16,
       DataType::Int32,
       DataType::Int64,
       DataType::Float32,
       DataType::Float64,
       DataType::Utf8,
       DataType::LargeUtf8,
       DataType::Timestamp(Nanosecond, None),
       DataType::Timestamp(Microsecond, None),
       DataType::Timestamp(Millisecond, None),
       DataType::Timestamp(Second, None),
       DataType::Date32,
       DataType::Date64,
       DataType::Binary,
       ];
   ```
   


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