presto-main/src/main/java/io/prestosql/connector/system/SystemTablesMetadata.java/SystemTablesMetadata/applyFilter
class SystemTablesMetadata:    @Override
    public Optional<ConstraintApplicationResult<ConnectorTableHandle>> applyFilter(ConnectorSession session, ConnectorTableHandle handle, Constraint constraint)
    {
        SystemTableHandle table = (SystemTableHandle) handle;

        TupleDomain<ColumnHandle> oldDomain = table.getConstraint();
        TupleDomain<ColumnHandle> newDomain = oldDomain.intersect(constraint.getSummary());
        if (oldDomain.equals(newDomain)) {
            return Optional.empty();
        }

        table = new SystemTableHandle(table.getSchemaName(), table.getTableName(), newDomain);

        return Optional.of(new ConstraintApplicationResult<>(table, constraint.getSummary()));
    }