Functionsยง
- can_
coerce_ from - Return true if a value of type
type_fromcan be coerced (losslessly converted) into a value oftype_to - coerced_
from ๐ - Find the coerced type for the given
type_intoandtype_from. ReturnsNoneif coercion is not possible. - data_
types - Performs type coercion for function arguments.
- data_
types_ with_ scalar_ udf - Performs type coercion for scalar function arguments.
- fields_
with_ aggregate_ udf - Performs type coercion for aggregate function arguments.
- fields_
with_ window_ udf - Performs type coercion for window function arguments.
- get_
valid_ ๐types - Returns a Vec of all possible valid argument types for the given signature.
- get_
valid_ ๐types_ with_ aggregate_ udf - get_
valid_ ๐types_ with_ scalar_ udf - get_
valid_ ๐types_ with_ window_ udf - is_
well_ ๐supported_ signature - maybe_
data_ ๐types - Try to coerce the current argument types to match the given
valid_types. - maybe_
data_ ๐types_ without_ coercion - Check if the current argument types can be coerced to match the given
valid_typesunlikemaybe_data_types, this function does not coerce the types. TODO: I think this function should replacemaybe_data_typesafter signature are well-supported. - try_
coerce_ ๐types