Types
PartitionFilter
Partition qualifying filter.
For tumbling windows, this is useful when the datetime field of the window
differs from a table’s partitioning column. For example, given a tumbling
window configured on created_at and a partition filter on _PARTITIONTIME
with a lookback of 3 days:
SELECT * FROM mytable
WHERE
-- tumbling window filter
created_at >= (CURRENT_TIMESTAMP - INTERVAL '1 DAY')
AND
-- partition filter
_PARTITIONTIME >= (CURRENT_TIMESTAMP - INTERVAL '3 DAYS')
object
PartitionFilterFields
field
JsonPointer!
Name of the partitioning column.
lookback
Range to filter in relevant partitions.