2
을 존재하는 경우 : http://cassandra.apache.org/doc/cql3/CQL.html#dropTableStmt 및CQL3 오류 : 드롭 테이블 문서에 따르면
http://www.datastax.com/documentation/cql/3.1/webhelp/index.html#cql/cql_reference/drop_table_r.html을이 구문을 사용하여이있는 경우에만 테이블을 삭제 할 수 있습니다 :
DROP TABLE IF EXISTS keyspace_name.table_name
을 나는 다음과 같은 얻을 그러나 오류 : 나는 다음과 같은 버전을 사용하고
cqlsh:default> DROP TABLE IF EXISTS default.my_table;
Bad Request: line 1:14 no viable alternative at input 'EXISTS'
: [cqlsh 4.1.0 | 카산드라 1.2.10 | CQL 사양 3.0.5 | Thrift protocol 19.36.0]
설명서가 누락되었거나 설명서에 문제가 있습니까?
내 잘못입니다. 나는 최신 정보를 사용하고 있다고 생각했다. http://www.datastax.com/documentation/gettingstarted/index.html#getting_started/gettingStartedTar_t.html에 따라 다시 설치하면 문제가 해결됩니다. – odedfos