cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13143) Cassandra can accept invalid durations
Date Fri, 27 Jan 2017 10:05:24 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842480#comment-15842480
] 

Benjamin Lerer commented on CASSANDRA-13143:
--------------------------------------------

Thanks for the review.

> Cassandra can accept invalid durations
> --------------------------------------
>
>                 Key: CASSANDRA-13143
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13143
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>
> A duration can be positive or negative. If the duration is positive the months, days
and nanoseconds must be greater or equals to zero. If the duration is negative the months,
days and nanoseconds must be smaller or equals to zero.
> Currently, it is possible to send to C* a duration which does not respect that rule and
the data will not be reject.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message