Problem Statement
What enables partition pruning in a query planner?
Explanation
If the WHERE clause references the partition key with ranges or equality, the planner can skip irrelevant partitions.
Design queries and partition schemes together to exploit pruning and reduce scan cost.
Code Solution
SolutionRead Only
WHERE event_date BETWEEN '2025-10-01' AND '2025-10-07'
