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

Collection types validation is incomplete

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.11
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      The collection types will complain if a value has less values than advertised, or if some of those values don't validate, but it does check that there is no remaining bytes after the collection. One consequence is that if you prepare INSERT INTO t(k, s) VALUES (0, ?) where s is a set, and you pass a map value (with the same type for keys and values than the set), then no error will be issued.

        Attachments

        1. 7833.txt
          2 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
              Reviewers:
              Tom Hobbs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: