presto-main/src/main/java/io/prestosql/cost/CostCalculatorUsingExchanges.java/CostCalculatorUsingExchanges/visitJoin
class CostCalculatorUsingExchanges:        @Override
        public PlanCostEstimate visitJoin(JoinNode node, Void context)
        {
            LocalCostEstimate localCost = calculateJoinCost(
                    node,
                    node.getLeft(),
                    node.getRight(),
                    Objects.equals(node.getDistributionType(), Optional.of(JoinNode.DistributionType.REPLICATED)));
            return costForLookupJoin(node, localCost);
        }