Jefffrey commented on issue #7225:
URL: https://github.com/apache/datafusion/issues/7225#issuecomment-5203741905

   this can be achieved via the coercible api:
   
   ```rust
   Signature::one_of(
       vec![
           TypeSignature::Coercible(vec![
               Coercion::new_exact(TypeSignatureClass::Any),
               Coercion::new_exact(TypeSignatureClass::Any),
               Coercion::new_exact(TypeSignatureClass::Native(logical_int64())),
           ]),
           TypeSignature::Coercible(vec![
               Coercion::new_exact(TypeSignatureClass::Any),
               Coercion::new_exact(TypeSignatureClass::Any),
               Coercion::new_exact(TypeSignatureClass::Native(logical_int64())),
               Coercion::new_exact(TypeSignatureClass::Native(logical_int64())),
           ]),
       ],
       Volatility::Immutable,
   )
   ```


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