Uploaded image for project: 'Apache Cassandra'
  1. Apache 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

              bryncooke Bryn Cooke
              bryncooke Bryn Cooke
              Bryn Cooke
              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 - 1h 40m
                  1h 40m