ANY TYPE
Translation specification for BigQuery's ANT TYPE data type
Important Notice: Migration of Documentation Website
Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:
Official Snowflake Snowconvert Documentation
For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].
Thank you for your understanding.
Description
The following is an extract of information about the usage of ANY TYPE within CREATE FUNCTION statements.
A parameter with a type equal to
ANY TYPEcan match more than one argument type when the function is called.
If more than one parameter has type
ANY TYPE, then BigQuery doesn't enforce any type relationship between these arguments.The function return type cannot be
ANY TYPE. It must be either omitted, which means to be automatically determined based onsql_expression, or an explicit type.Passing the function arguments of types that are incompatible with the function definition results in an error at call time.
Sample source patterns
Type definition for UDFs
ANY TYPE can only be found as the type for a function's parameter. SnowConvert automatically translates ANY TYPE to VARIANT.
Input Code:
Output Code:
Last updated
