Snowflake documentation says that VARCHAR columns are limited to 16 MB uncompressed https://docs.snowflake.net/manuals/sql-reference/data-types-text.html#data-types-for-text-strings
VARCHAR holds unicode characters. The maximum length is 16 MB (uncompressed). The maximum number of Unicode characters that can be stored in a VARCHAR column depends on whether the characters are singlebyte or multibyte:
Singlebyte
16,777,216
Multibyte
Between 8,388,608 (2 bytes per character) and 4,194,304 (4 bytes per character)
If a length is not specified, the default is the maximum length.
Snowflake documentation says that VARCHAR data is automatically converted to JavaScript string data type.
https://docs.snowflake.net/manuals/sql-reference/stored-procedures-usage.html#sql-and-javascript-data-type-mapping
QUESTION: If I call a Snowflake procedure (or JavaScript UDF) and pass in the VARCHAR data from a table, is there a size limitation in the Snowflake Procedure, or will it handle a 16MB string variable?