You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dong Jiang (JIRA)" <ji...@apache.org> on 2016/07/29 22:15:20 UTC

[jira] [Created] (SPARK-16806) from_unixtime function gives wrong answer

Dong Jiang created SPARK-16806:
----------------------------------

             Summary: from_unixtime function gives wrong answer
                 Key: SPARK-16806
                 URL: https://issues.apache.org/jira/browse/SPARK-16806
             Project: Spark
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Dong Jiang


The following is from 2.0, for the same epoch, the function with format argument generates a different result.
spark-sql> select from_unixtime(100), from_unixtime(100, 'YYYY-MM-dd HH:mm:ss');
1969-12-31 19:01:40	1970-12-31 19:01:40





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