presto-main/src/main/java/io/prestosql/sql/planner/optimizations/ActualProperties.java/ActualProperties/Global
class ActualProperties:        private Global(Optional<Partitioning> nodePartitioning, Optional<Partitioning> streamPartitioning, boolean nullsAndAnyReplicated)
        {
            checkArgument(!nodePartitioning.isPresent()
                            || !streamPartitioning.isPresent()
                            || nodePartitioning.get().getColumns().containsAll(streamPartitioning.get().getColumns())
                            || streamPartitioning.get().getColumns().containsAll(nodePartitioning.get().getColumns()),
                    "Global stream partitioning columns should match node partitioning columns");
            this.nodePartitioning = requireNonNull(nodePartitioning, "nodePartitioning is null");
            this.streamPartitioning = requireNonNull(streamPartitioning, "streamPartitioning is null");
            this.nullsAndAnyReplicated = nullsAndAnyReplicated;
        }