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

CREATE TABLE LIKE for copying Basic Table definition

    XMLWordPrintableJSON

Details

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

      Ut and distributed test

      Show
      Ut and distributed test

    Description

      Introduce CREATE TABLE LIKE grammar that only COPY table's basic information: primary key , clustering key, regular column , and their data types(including udt), data masking and table params , under the same keyspace or different keyspace.

      Besides, we can also set table paramas at the time when copy table : The grammer is :

      CREATE TABLE [IF NOT EXISTS] <newtable> LIKE <oldtable> WITH <property> = <value>

      Attachments

        Issue Links

          Activity

            People

              maxwellguo Maxwell Guo
              maxwellguo Maxwell Guo
              Maxwell Guo
              Benjamin Lerer, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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