[
https://issues.apache.org/jira/browse/SPARK-27546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860489#comment-16860489
]
Jiatao Tao commented on SPARK-27546:
------------------------------------
Hi [~dongjoon]
What I get is "ts", not the "Mon Dec 31 16:00:00 PST 2012".
jshell> new Date(1356998400000L).getTime
$1 ==> 1356998400000L
jshell> TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
jshell> new Date(1356998400000L).getTime
$3 ==> 1356998400000L
Whatere the timezone I set, should not influence the ts I get.
> Should repalce DateTimeUtils#defaultTimeZoneuse with sessionLocalTimeZone
> -------------------------------------------------------------------------
>
> Key: SPARK-27546
> URL: https://issues.apache.org/jira/browse/SPARK-27546
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Jiatao Tao
> Priority: Minor
> Attachments: image-2019-04-23-08-10-00-475.png,
> image-2019-04-23-08-10-50-247.png
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]