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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha4, 4.0
    • CQL/Syntax
    • 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. Screen Shot 2020-02-26 at 11.25.29 AM.png
          482 kB
          Ekaterina Dimitrova
        2. CASSANDRA-15271-testall.txt
          277 kB
          Ekaterina Dimitrova
        3. CASSANDRA-15271.zip
          10.33 MB
          Ekaterina Dimitrova

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: