Difference between Thrift and CQL 3 Columns/Rows

痴心易碎 提交于 2019-12-18 03:00:24

问题


At the Cassandra Summit, it was mentioned that Thrift and CQL 3 have subtle differences in their definitions of columns and rows. The Google hasn't helped me understand this difference. The only information I can find is that the metadata is different, and as such, I shouldn't mix thrift and CQL.

  1. What is the subtle difference (I've read a bit about metadata representations...)?
  2. in what way does it break the compatibility?
  3. Why is the change better?

I'm happy to read any docs that will help me, I've just been unable to find anything specifically related to this topic.


回答1:


Here's the reading path I was taught to follow to answer this same question:

  1. Intro to Apache Cassandra 1.2
  2. A Thrift to CQL3 upgrade guide
  3. CQL3 for Cassandra experts : DataStax
  4. Does CQL support dynamic columns / wide rows?



回答2:


This blog by Aaron Morton is a great read to show the subtle difference in which data is stored in case of CQL and thrift. It helped me a lot to understand the difference.

The Last Pickle



来源:https://stackoverflow.com/questions/17865703/difference-between-thrift-and-cql-3-columns-rows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!