presto-main/src/main/java/io/prestosql/sql/planner/StageExecutionPlan.java/StageExecutionPlan/withBucketToPartition
class StageExecutionPlan:    public StageExecutionPlan withBucketToPartition(Optional<int[]> bucketToPartition)
    {
        return new StageExecutionPlan(fragment.withBucketToPartition(bucketToPartition), splitSources, subStages, tables);
    }