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 2016/11/08 06:44:58 UTC

[jira] [Commented] (SPARK-18350) Support session local timezone

    [ https://issues.apache.org/jira/browse/SPARK-18350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15646704#comment-15646704 ] 

Reynold Xin commented on SPARK-18350:
-------------------------------------

I'm guessing the easiest way to do this is to change all the expressions that can be impacted by timezones to add an explicit timezone argument, and the analyzer automatically places the timezone argument in those expressions.

cc [~hvanhovell] [~cloud_fan] [~smilegator] [~vssrinath] for input.


> Support session local timezone
> ------------------------------
>
>                 Key: SPARK-18350
>                 URL: https://issues.apache.org/jira/browse/SPARK-18350
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Reynold Xin
>
> As of Spark 2.1, Spark SQL assumes the machine timezone for datetime manipulation, which is bad if users are not in the same timezones as the machines, or if different users have different timezones.
> We should introduce a session local timezone setting that is used for execution.



--
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