1. What enables partition pruning in a query planner?
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.
WHERE event_date BETWEEN '2025-10-01' AND '2025-10-07'