GitHub user tarekauel opened a pull request: https://github.com/apache/spark/pull/7516
[SPARK-9177][SQL] Reuse of calendar object in WeekOfYear https://issues.apache.org/jira/browse/SPARK-9177 @rxin Are we sure that this is thread safe? @chenghao-intel explained in another PR that every partition (if I remember correctly) uses one expression instance. This instance isn't used by multiple threads, is it? If not, we are fine. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tarekauel/spark SPARK-9177 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/7516.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 #7516 ---- commit ff97b095c3c80f857f571c0087d271d32b208cb9 Author: Tarek Auel <tarek.a...@googlemail.com> Date: 2015-07-19T17:40:21Z [SPARK-9177] Reuse calendar object in interpreted code and codegen ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org