问题
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.
- What is the subtle difference (I've read a bit about metadata representations...)?
- in what way does it break the compatibility?
- 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:
- Intro to Apache Cassandra 1.2
- A Thrift to CQL3 upgrade guide
- CQL3 for Cassandra experts : DataStax
- 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