ARRAY<T>
Translation specification for the ARRAY<T> datatype from BigQuery to Snowflake
Last updated
Translation specification for the ARRAY<T> datatype from BigQuery to Snowflake
Last updated
In BigQuery, an array is an ordered list of zero or more elements of non-array values. Elements in an array must share the same type. ()
1. Non-safe ARRAY access will not fail for positive out of bounds indexes
In BigQuery, accessing an array element by index will fail for any index value that is too low (underflow) or too high (overflow) when not using SAFE_OFFSET or SAFE_ORDINAL. However, in Snowflake errors are thrown only for underflow cases, any index that would case an overflow error will generate a NULL value instead.
When non-safe access to elements in an array is detected SnowConvert will generate to warn the user about this.
: Accessing arrays produces NULL instead of an error for positive out of bounds indexes in Snowflake.