Cassandra
  1. Cassandra
  2. CASSANDRA-4129

Cannot create keyspace with specific keywords through cli

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.0.10
    • Component/s: None
    • Labels:
      None

      Description

      Keyspaces cannot be create when the keyspace name which are used as keywords in the cli, such as 'keyspace', 'family' etc., through CLI. Even when surrounding the keyspace with quotation does not solve the problem. However, such keyspaces can be created through other client such as Hector.

      This is similar to the issue CASSANDRA-3195, in which the column families could not be created. Similar to the solution of CASSANDRA-3195, using String keyspaceName = CliUtil.unescapeSQLString(statement.getChild(0).getText()) in executeAddKeySpace would solve the problem.

      1. CASSANDRA-4129.patch
        1 kB
        Pavel Yaskevich

        Activity

          People

          • Assignee:
            Pavel Yaskevich
            Reporter:
            Manoj Mainali
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development