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

Support Thrift tables clustering columns on CqlPagingInputFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.18
    • Legacy/Tools
    • None
    • Normal

    Description

      CASSANDRA-5752 introduced support to thrift tables on CQLPagingInputFormat via the retrieveKeysForThriftTables() method.

      However, this method only retrieves partition keys from CFMetaData, so clustering columns are ignored.

      So, when the RowIterator tries to fetch the next page of a wide-row thrift CF, it ignores the clustering column altogether, going to the next partition token. So, only cassandra.input.page.row.size CQL rows are retrieved for each partition key.

      CqlRecordWriter had the same issue and was fixed on bcfe352ea6ed3786f274b90191f988210360689d (CASSANDRA-5718).

      Attachments

        1. 1.2-CASSANDRA-7445.txt
          3 kB
          Paulo Motta
        2. 1.2-CASSANDRA-7445-withPigTests.txt
          9 kB
          Paulo Motta

        Activity

          People

            pauloricardomg Paulo Motta
            pauloricardomg Paulo Motta
            Paulo Motta
            Alex Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: