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

Warning message on aggregation queries doesn't specify table name or aggregate type

    XMLWordPrintableJSON

Details

    Description

      The existing aggregation query warning messages in cassandra.log from SelectStatement.java:

           '[WARN] Aggregation query used without partition key'

           '[WARN] Aggregation query used on multiple partition keys (IN restriction)'

      are missing the helpful details which would assist users in quickly identifying the offending query. The table name and type of aggregation would be useful additions in the WARN message.

      In addition, following the example of the slow query logger and printing out the query string at DEBUG level would be especially helpful.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              bschoeni Brad Schoening
              Stefan Miklosovic
              Brandon Williams, Stefan Miklosovic
              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 - 0.5h
                  0.5h