When I use intervals in my query e.g col1 between current_timestamp -interval '10 days' and current_timestamp...the optimizer checks ALLpartitions whereas if I use col1 between 2 hardcoded dates..onlythe applicable partitions are scanned.