Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13143

Cassandra can accept invalid durations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.10
    • Legacy/CQL
    • None
    • Normal

    Description

      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.

      Attachments

        Activity

          People

            blerer Benjamin Lerer
            blerer Benjamin Lerer
            Benjamin Lerer
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: