You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ashutosh Upadhyay (Jira)" <ji...@apache.org> on 2023/12/22 18:57:00 UTC

[jira] [Created] (SPARK-46489) literal function is giving wrong value for minimum datetime

Ashutosh Upadhyay created SPARK-46489:
-----------------------------------------

             Summary: literal function is giving wrong value for minimum datetime
                 Key: SPARK-46489
                 URL: https://issues.apache.org/jira/browse/SPARK-46489
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 3.3.0
            Reporter: Ashutosh Upadhyay
         Attachments: image-2023-12-22-10-56-30-473.png

While using PySpark functions f.lit to read datetime.min value, it is giving wrong value. 

Below is the screenshot for the same,

!image-2023-12-22-10-05-20-673.png!

Expectation is to get same value as datetime.min in case of f.lit(datetime.min).

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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