[ 
https://issues.apache.org/jira/browse/CASSANDRA-16105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

João Reis updated CASSANDRA-16105:
----------------------------------
    Description: 
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 of the 3 mentioned versions (note the zero padded time part - 
{{9:00:00}} vs {{09:00:00}})

  was:
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}})


> 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
>            Priority: Normal
>
> 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 of the 3 mentioned 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to