Open ZuoTiJia opened 11 months ago
I want to create a UDF function with type signature like this:
func(a any, b any, c bigint) func(a any, b any, c bigint, d bigint)
there seems to be no way.
Here is the function signature supported by Postgresql. https://www.postgresql.org/docs/current/extend-type-system.html#EXTEND-TYPES-POLYMORPHIC
No response
I think you can implement such a function by declaring it to use TypeSignature::VariadicAny: https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.TypeSignature.html#variant.VariadicAny
TypeSignature::VariadicAny
Is your feature request related to a problem or challenge?
I want to create a UDF function with type signature like this:
there seems to be no way.
Here is the function signature supported by Postgresql. https://www.postgresql.org/docs/current/extend-type-system.html#EXTEND-TYPES-POLYMORPHIC
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response