
Answer-first summary for fast verification
Answer: VARIANT, ARRAY
The question asks for two data types that Snowflake supports when querying semi-structured data. According to Snowflake's official documentation on semi-structured data types (referenced multiple times in the community discussion), VARIANT and ARRAY are specifically designed for handling semi-structured data. VARIANT can store any semi-structured data (like JSON, Avro, etc.), and ARRAY is used for ordered collections. VARCHAR, XML, and BLOB are either structured (VARCHAR) or not the primary types for semi-structured querying in Snowflake (XML and BLOB are supported but less common for this purpose). The community consensus strongly favors AD (85% of responses), with detailed reasoning pointing to the official documentation, confirming VARIANT and ARRAY as the correct choices.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.