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

Allow DELETE and TRUNCATE to work on Virtual Tables if the implementation allows it

    XMLWordPrintableJSON

Details

    Description

      TRUNCATE statements are currently not supported by Virtual Tables. For some Virtual Tables it makes sense to allow it.

      It can be done by adding a truncate method to the VirtualTable interface and calling that method from TruncateStatement. The default implementation of the method should be to fire an InvalidRequestException saying that truncate is not supported on that specific table.

      Attachments

        Issue Links

          Activity

            People

              azotcsit Aleksei Zotov
              blerer Benjamin Lerer
              Aleksei Zotov
              Benjamin Lerer, Chris Lohfink
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 4h 20m
                  4h 20m