Gopal V created HIVE-20622:
------------------------------

             Summary: Backwards Compat: Support non-zero padded date and 
timestamp entries
                 Key: HIVE-20622
                 URL: https://issues.apache.org/jira/browse/HIVE-20622
             Project: Hive
          Issue Type: Bug
            Reporter: Gopal V


The Date spec in Hive says

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-date

{noformat}
DATE values describe a particular year/month/day, in the form YYYY-­MM-­DD. For 
example, DATE '2013-­01-­01'
{noformat}

Even though the Hive date & timestamp spec are strict on their format 
specification, Hive has previously supported " yyyy-[m]m-[d]d" formatted dates 
and it is better to expand the spec rather than drop this compatibility.



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

Reply via email to