How Snowflake handles semi-structured data with VARIANT, OBJECT and ARRAY, compared with a relational database
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain how Snowflake loads and queries semi-structured data such as JSON, Avro and XML using the VARIANT, OBJECT and ARRAY types. Tests path notation, flattening nested arrays, internal storage and how this compares with the fixed schemas of a traditional relational database.