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

CASSANDRA-13426 changed the behavior of "CLUSTERING ORDER" on "CREATE TABLE"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.0
    • Component/s: CQL/Syntax
    • Labels:
      None
    • Bug Category:
      Correctness
    • Severity:
      Low
    • Complexity:
      Normal
    • Discovered By:
      User Report
    • Platform:
      All
    • Impacts:
      None

      Description

      CASSANDRA-13426 changed the behavior of "CLUSTERING ORDER" on "CREATE TABLE", it now complains if you don't specify all the columns.

      It was nice that previously you could just specify to make the first clustering DESC and leave the rest ASC without needing to specify them.  Also it would be nice I think to avoid breaking changes to the CREATE TABLE syntax.

      We should either update NEWS.txt to call out the breaking change there, or update the new code to be able to default the columns which were not mentioned.

        Attachments

          Activity

            People

            • Assignee:
              e.dimitrova Ekaterina Dimitrova
              Reporter:
              jjordan Jeremiah Jordan
              Authors:
              Ekaterina Dimitrova
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: