Does CQL3 require a schema for Cassandra now?

前端 未结 4 1048
迷失自我
迷失自我 2021-02-08 18:39

I\'ve just had a crash course of Cassandra over the last week and went from Thrift API to CQL to grokking SuperColumns to learning I shouldn\'t use them and user Composite Keys

4条回答
  •  没有蜡笔的小新
    2021-02-08 18:56

    Yes, CQL3 does require columns to be declared before used.

    But, you can do as many ALTERs as you want, no locking or performance hit is entailed.

    That said, most of the places that you'd use "dynamic columns" in earlier C* versions are better served by a Map in C* 1.2.

提交回复
热议问题