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

Fix validation of collections in TriggerExecutor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.1.1
    • Component/s: Legacy/Coordination
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      Description

      TriggerExecutor.validate uses o.a.c.cql.QueryProcessor (i.e. the cql2 version) to validate cells in generated mutations. This suffers from the same issue with collections as described in CASSANDRA-7665.

      With cql2 being removed in 3.0, TriggerExecutor in trunk does the right thing and uses the Cell's validateFields method, so we should just do the same thing in 2.1.

        Attachments

        1. 8146.txt
          2 kB
          Sam Tunnicliffe

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              samt Sam Tunnicliffe
              Authors:
              Sam Tunnicliffe
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: