Maciej Bryński created SPARK-25652:
--------------------------------------

             Summary: Wrong datetime conversion between Java and Python 
                 Key: SPARK-25652
                 URL: https://issues.apache.org/jira/browse/SPARK-25652
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 2.3.0
            Reporter: Maciej Bryński


Hi,
I found strange behaviour of Spark when using datetime from night of changing 
date (in CET).

df.collect()
{code}
[Row(start_time=datetime.datetime(2017, 10, 29, 2, 1, 44, fold=1))]
{code}
df.show()
{code}
+-------------------+
|         start_time|
+-------------------+
|2017-10-29 02:01:44|
+-------------------+
{code}
As you can see fold is added to Python part.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to