Stevo Mitric created SPARK-50669:
------------------------------------

             Summary: Allow long values for timestamp add expression
                 Key: SPARK-50669
                 URL: https://issues.apache.org/jira/browse/SPARK-50669
             Project: Spark
          Issue Type: Task
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Stevo Mitric


Currently executing the following query fails because of cast overflow:


{code:sql}
select
  timestampadd(
    millisecond,
    1733011227403,
    timestamp '1970-01-01T00:00:00.000Z'
  )
{code}

Signature of this function should be changed to allow long values.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to