You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Navya Krishnappa (JIRA)" <ji...@apache.org> on 2017/03/30 05:25:41 UTC
[jira] [Created] (SPARK-20152) Time zone is not respected while
parsing csv for timeStampFormat "MM-dd-yyyy'T'HH:mm:ss.SSSZZ"
Navya Krishnappa created SPARK-20152:
----------------------------------------
Summary: Time zone is not respected while parsing csv for timeStampFormat "MM-dd-yyyy'T'HH:mm:ss.SSSZZ"
Key: SPARK-20152
URL: https://issues.apache.org/jira/browse/SPARK-20152
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.1.0
Reporter: Navya Krishnappa
When reading the below mentioned time value by specifying the "timestampFormat": "MM-dd-yyyy'T'HH:mm:ss.SSSZZ", time zone is ignored.
Sample data:
TimeColumn
03-21-2017T03:30:02Z
Result: TimeColumn [ StringType] and value is "03-21-2017T03:30:02Z"
Expected Result: TimeCoumn should be of "TimestampType"
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org