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

CREATE TABLE LIKE with indexes/ triggers /ALL option

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Cluster/Schema, CQL/Syntax
    • None
    • Semantic
    • Normal
    • All
    • None

    Description

      no matter Copy table with indexes or triggers under same keyspace or differenet.
      The indexes and trigger name should be different from the source in case of conflict.
      we need to
      1.Adding cql parser for ALL/INDEXES/TRIGGER when doing create table like
      2.Automatic completion of keywords(LIKE/ALL/INDEXES/TRIGGER) and function hints (the source table and target table explain_completion when doing table copy) at the cqlsh level.

      in pylib/cqlshlib/cql3handling.py and the test in pylib/cqlshlib/test/test_cqlsh_completion.py.

      Attachments

        Issue Links

          Activity

            People

              maxwellguo Maxwell Guo
              maxwellguo Maxwell Guo
              Maxwell Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: