
Answer-first summary for fast verification
Answer: ARRAY, VARIANT
The question asks for data types that optimally store semi-structured data in Snowflake. The VARIANT data type is specifically designed for semi-structured data like JSON, Avro, ORC, and Parquet, allowing flexible storage without predefined schemas. The ARRAY data type can store ordered collections of elements, which is common in semi-structured formats. The community discussion shows 100% consensus on AE, with upvoted comments confirming these are correct. Other options like CHARACTER, STRING, and VARCHAR are for structured string data and are not optimal for semi-structured content due to rigidity and lack of native support for nested or hierarchical data.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.