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

'if not exists' clause should be produced on normal DESCRIBE cqlsh command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Do
    • 5.x
    • CQL/Interpreter
    • None
    • Correctness
    • Low
    • Low Hanging Fruit
    • Adhoc Test
    • All
    • None

    Description

      IF NOT EXISTS is saved when one takes, for example, a snapshot and it is added in schema.cql. However, I noticed that if one creates a table (or any other CQL entity for that matter), on DESCRIBE, it will not create the output with IF NOT EXISTS. I believe this is a discrepancy and it should be targetted.

      Attachments

        Activity

          People

            smiklosovic Stefan Miklosovic
            smiklosovic Stefan Miklosovic
            Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m