presto-spi/src/main/java/io/prestosql/spi/connector/LocalProperty.java/LocalProperty/constrain
class LocalProperty:    default LocalProperty<E> constrain(Set<E> columns)
    {
        if (!columns.equals(getColumns())) {
            throw new IllegalArgumentException(format("Cannot constrain %s with %s", this, columns));
        }
        return this;
    }