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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to