COF-C02 · Question #521
Which data types can be used in a Snowflake table that holds semi-structured data? (Select TWO).
The correct answer is A. ARRAY D. VARIANT. Snowflake provides three native semi-structured data types: VARIANT (stores any JSON, Avro, ORC, Parquet, or XML value), ARRAY (stores arrays of VARIANT values), and OBJECT (stores key-value pairs). VARIANT is the most flexible and foundational type. BINARY is a structured type…
Question
Which data types can be used in a Snowflake table that holds semi-structured data? (Select TWO).
Options
- AARRAY
- BBINARY
- CTEXT
- DVARIANT
- EVARCHAK
How the community answered
(48 responses)- A90% (43)
- B2% (1)
- C6% (3)
- E2% (1)
Explanation
Snowflake provides three native semi-structured data types: VARIANT (stores any JSON, Avro, ORC, Parquet, or XML value), ARRAY (stores arrays of VARIANT values), and OBJECT (stores key-value pairs). VARIANT is the most flexible and foundational type. BINARY is a structured type for storing raw byte data, and TEXT/VARCHAR are standard string types - neither is designed for semi-structured data. ARRAY and VARIANT are the correct choices here.
Topics
Community Discussion
No community discussion yet for this question.