COF-C02 · Question #342
Which data types can be used in Snowflake to store semi-structured data? (Select TWO)
The correct answer is A. ARRAY E. VARIANT. Snowflake supports the storage of semi-structured data using the ARRAY and VARIANT data types. The ARRAY data type can directly contain VARIANT, and thus indirectly contain any other data type, including itself. The VARIANT data type can store a value of any other type…
Question
Which data types can be used in Snowflake to store semi-structured data? (Select TWO)
Options
- AARRAY
- BBLOB
- CCLOB
- DJSON
- EVARIANT
How the community answered
(54 responses)- A87% (47)
- B2% (1)
- C4% (2)
- D7% (4)
Explanation
Snowflake supports the storage of semi-structured data using the ARRAY and VARIANT data types. The ARRAY data type can directly contain VARIANT, and thus indirectly contain any other data type, including itself. The VARIANT data type can store a value of any other type, including OBJECT and ARRAY, and is often used to represent semi-structured data formats like JSON, Avro, ORC, Parquet, or XML.
Topics
Community Discussion
No community discussion yet for this question.