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

ColumnFilter::toString doesn't return a valid CQL fragment

    XMLWordPrintableJSON

Details

    Description

      This was changed in CASSANDRA-16415 to include indications about queried vs fetched reagular & static columns. However, the result is used by AbstractReadQuery::toCQLString, which causes it to produce an illegal query string.

      This breaks a couple of dtests because they're looking for CQL strings in logs, which are no longer found:

      • upgrade_tests/paging_test.py::TestPagingWithDeletions::test_failure_threshold_deletions
      • cql_test.py::TestCQLSlowQuery has a couple of failing tests, test_local_query/test_remote_query

      We should also check audit and fql logs (and any other place where toCQLString is used.

      Attachments

        Issue Links

          Activity

            People

              adelapena Andres de la Peña
              samt Sam Tunnicliffe
              Andres de la Peña
              Benjamin Lerer
              Votes:
              0 Vote for this issue
              Watchers:
              4 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