You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/07/19 08:38:04 UTC
[jira] [Created] (SPARK-9177) Reuse Calendar instance in WeekOfYear
Reynold Xin created SPARK-9177:
----------------------------------
Summary: Reuse Calendar instance in WeekOfYear
Key: SPARK-9177
URL: https://issues.apache.org/jira/browse/SPARK-9177
Project: Spark
Issue Type: Sub-task
Components: SQL
Reporter: Reynold Xin
Right now WeekOfYear creates a new Calendar instance for every record, both in code gen and in interpreted mode. We should just reuse the same Calendar instance (i.e. initialize it as a member variable in interpreted mode, and use mutable state in codegen mode).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org