COF-C02 · Question #258
What type of columns does Snowflake recommend to be used as clustering keys? (Select TWO).
The correct answer is C. A column with very high cardinality D. A column that is most actively used in selective filters. Snowflake recommends clustering keys on columns with high cardinality (many distinct values) because they enable more precise pruning of micro-partitions - each partition covers a narrower value range. Columns used in selective filters (WHERE clause predicates) are also ideal…
Question
What type of columns does Snowflake recommend to be used as clustering keys? (Select TWO).
Options
- AA VARIANT column
- BA column with very low cardinality
- CA column with very high cardinality
- DA column that is most actively used in selective filters
- EA column that is most actively used in join predicates
How the community answered
(37 responses)- B3% (1)
- C95% (35)
- E3% (1)
Explanation
Snowflake recommends clustering keys on columns with high cardinality (many distinct values) because they enable more precise pruning of micro-partitions - each partition covers a narrower value range. Columns used in selective filters (WHERE clause predicates) are also ideal because clustering physically co-locates rows matching common filter values, minimizing partitions scanned. Low-cardinality columns provide little pruning benefit. VARIANT columns are semi-structured and not suitable as clustering keys. Join predicate columns (E) are a lower priority compared to filter columns.
Topics
Community Discussion
No community discussion yet for this question.