spark git commit: [SPARK-15647][SQL] Fix Boundary Cases in OptimizeCodegen Rule

2016-05-31 Thread wenchen
Repository: spark Updated Branches: refs/heads/branch-2.0 e11046457 -> 6347ff512 [SPARK-15647][SQL] Fix Boundary Cases in OptimizeCodegen Rule What changes were proposed in this pull request? The following condition in the Optimizer rule `OptimizeCodegen` is not right. ```Scala branches.

spark git commit: [SPARK-15647][SQL] Fix Boundary Cases in OptimizeCodegen Rule

2016-05-31 Thread wenchen
Repository: spark Updated Branches: refs/heads/master 2bfc4f152 -> d67c82e4b [SPARK-15647][SQL] Fix Boundary Cases in OptimizeCodegen Rule What changes were proposed in this pull request? The following condition in the Optimizer rule `OptimizeCodegen` is not right. ```Scala branches.size