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: Triage Needed
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.0
    • Component/s: CQL/Syntax
    • Labels:
      None
    • 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:
              Unassigned
              Reporter:
              jjordan Jeremiah Jordan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: