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 2019/10/18 11:52:00 UTC

[jira] [Created] (SPARK-29508) Implicitly cast strings in datetime arithmetic operations

Maxim Gekk created SPARK-29508:
----------------------------------

             Summary: Implicitly cast strings in datetime arithmetic operations
                 Key: SPARK-29508
                 URL: https://issues.apache.org/jira/browse/SPARK-29508
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.4
            Reporter: Maxim Gekk


To improve Spark SQL UX, strings can be cast to the `INTERVAL` or `TIMESTAMP` types in the cases:
 # Cast string to interval in interval - string
 # Cast string to interval in datetime + string or string + datetime
 # Cast string to timestamp in datetime - string or string - datetime



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