You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2020/05/15 20:48:00 UTC

[jira] [Created] (SPARK-31727) Inconsistent error messages of casting timestamp to int

Maxim Gekk created SPARK-31727:
----------------------------------

             Summary: Inconsistent error messages of casting timestamp to int
                 Key: SPARK-31727
                 URL: https://issues.apache.org/jira/browse/SPARK-31727
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0, 3.1.0
            Reporter: Maxim Gekk


Casting 1900-05-05 18:34:56.1 to int produces different error messages for in the non-codegen and codegen mode:
# codegen: "Casting -2198208303900000 to int causes overflow"
# non-codegen: "Casting -2198208304 to int causes overflow"

The error message in the non-codegen contains intermediate results.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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