Class UtcConstraintExtractor

java.lang.Object
io.trino.plugin.base.filter.UtcConstraintExtractor

public final class UtcConstraintExtractor extends Object
Some expressions involving the TIMESTAMP WITH TIME ZONE type can be optimized when the time zone is known. It is not possible in the engine, but can be possible in the connector if the connector follows some convention regarding time zones. In some connectors, like the Delta Lake connector, or the Iceberg connector, all values of TIMESTAMP WITH TIME ZONE type are represented using the UTC time zone.