presto-main/src/main/java/io/prestosql/sql/planner/plan/JoinNode.java/JoinNode/withDistributionType
class JoinNode:    public JoinNode withDistributionType(DistributionType distributionType)
    {
        return new JoinNode(getId(), type, left, right, criteria, outputSymbols, filter, leftHashSymbol, rightHashSymbol, Optional.of(distributionType), spillable, dynamicFilters);
    }