QuestionQ297

VerifiedUsing Spark SQL

What is the primary benefit of partitioning data when persisting tables?

Explanation

Partitioning enables partition pruning: when a query filters by partition values, the system can read only the relevant subset of data from fewer partitions, which reduces I/O and improves query performance.

Community Discussion

No comments yet. Be the first to start the discussion!