Open
Description
Tables partition by timestamp and where inner query predicate combined with outer predicate are exclusive, but the engine still makes the scan for the inner query.
Ex:
This is a iceberg table and it is partition by server_timestamp
day
The range server_timestamp > timestamp '2024-01-09 20:49:34'
and server_timestamp < timestamp '2024-01-09 20:49:34'
have no overlapping so the engine should not scan any data and return 0 records.