You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "João Reis (Jira)" <ji...@apache.org> on 2020/09/03 16:48:00 UTC

[jira] [Created] (CASSANDRA-16105) InvalidQuery when datetime string format is not zero padded

João Reis created CASSANDRA-16105:
-------------------------------------

             Summary: InvalidQuery when datetime string format is not zero padded
                 Key: CASSANDRA-16105
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16105
             Project: Cassandra
          Issue Type: Bug
          Components: CQL/Interpreter
            Reporter: João Reis


With CASSANDRA-15976, Cassandra no longer accepts certain datetime string formats that it used to accept before:

{code:java}
Unable to parse a date/time from '2020-09-03 9:00:00+0000'
{code}

In this example, {{2020-09-03 9:00:00+0000}} is not accepted in 4.0-beta2 but it is accepted in previous versions (I tested this with 4.0-beta1 and 3.11.4). If I add a zero so that it becomes {{2020-09-03 09:00:00+0000}} then it is accepted in all versions (note the zero padded time part - {{9:00:00}} vs {{09:00:00}})



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org