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: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: CQL/Syntax
    • Labels:
      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

        1. CASSANDRA-15271-testall.txt
          277 kB
          Ekaterina Dimitrova
        2. Screen Shot 2020-02-26 at 11.25.29 AM.png
          482 kB
          Ekaterina Dimitrova
        3. CASSANDRA-15271.zip
          10.33 MB
          Ekaterina Dimitrova

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: