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/01/31 23:27:00 UTC

[jira] [Created] (SPARK-26805) Eliminate double checking of stringToDate and stringToTimestamp inputs

Maxim Gekk created SPARK-26805:
----------------------------------

             Summary: Eliminate double checking of stringToDate and stringToTimestamp inputs
                 Key: SPARK-26805
                 URL: https://issues.apache.org/jira/browse/SPARK-26805
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


The LocalTime and LocalTime classes as well as other java.time classes used inside of stringToTimestamp and stringToDate do checking of input parameters already. There is no need to do that twice. The ticket aims to remove isInvalidDate() from DateTimeUtils and eliminate such double checking. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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