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

SELECT queries broken for Thrift-created tables with non-string comparators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0 alpha 1
    • Legacy/CQL
    • None
    • Normal

    Description

      CFMetaData.getColumnNameType() is broken, which in turn breaks ColumnIdentifier.Raw.prepare().

      Basically, the logic of it is incorrect - we should be returning the type of the clustering column, not of the REGULAR value one.

      See ThriftCompatibilityTest after this commit.

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            aleksey Aleksey Yeschenko
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: