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

Batch statement preparation fails if multiple tables and parameters are used

    XMLWordPrintableJSON

    Details

      Description

      Batch statement preparation fails with an assertion error if multiple tables and parameters are used.

      BEGIN BATCH 
       UPDATE tbl1 SET v1 = 1 WHERE k1 = ?
       UPDATE tbl2 SET v2 = 2 WHERE k2 = ?
      APPLY BATCH

      The logic for affectsMultipleTables here looks inverted
      This later causes an assertion failure here

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bryncooke Bryn Cooke
                Reporter:
                bryncooke Bryn Cooke
                Authors:
                Bryn Cooke
                Reviewers:
                Eduard Tudenhoefner, Robert Stupp
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h