How does clustering work in Snowflake, and when would you use clustering keys?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how Snowflake clusters data in micro-partitions and when an explicit clustering key is worth defining. Tests understanding of partition pruning, natural clustering, clustering depth, choosing and ordering key columns, and the cost of automatic reclustering.