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

Fix validation of collections in TriggerExecutor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.1
    • Legacy/Coordination
    • None
    • Normal

    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

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: