GitHub user ConeyLiu opened a pull request: https://github.com/apache/spark/pull/20844
[SPARK-23707][SQL] Fresh 'initRange' name to avoid method name conflicts ## What changes were proposed in this pull request? We should call `ctx.freshName` to get the `initRange` to avoid name conflicts. ## How was this patch tested? Existing UT. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ConeyLiu/spark range Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20844.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20844 ---- commit d69f32ca49e3b2fa730d0520f48403eeebce60e4 Author: Xianyang Liu <xianyang.liu@...> Date: 2018-03-16T07:56:52Z Fresh 'initRange' name to avoid method name conflicts ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org