【发布时间】:2019-12-11 23:19:02
【问题描述】:
Snowflake 文档说 VARCHAR 列限制为 16 MB 未压缩 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 文档说 VARCHAR 数据会自动转换为 JavaScript 字符串数据类型。
https://docs.snowflake.net/manuals/sql-reference/stored-procedures-usage.html#sql-and-javascript-data-type-mapping
问题: 如果我调用 Snowflake 过程(或 JavaScript UDF)并从表中传入 VARCHAR 数据,Snowflake 过程中是否存在大小限制,或者它会处理 16MB 的字符串变量吗?
【问题讨论】:
标签: snowflake-cloud-data-platform