Justin Sweeney
Justin Sweeney

Reputation: 133

Cassandra CQL DataType Advantages and Disadvantages

I am looking into using Cassandra CQL 3.0 and was reading over the various datatypes provided for tables (or column families). See here for a list of the datatypes: CQL Datatypes. My questions is what are some advantages and disadvantages of the different datatypes. For example, if I am storing XML into a column, what would be a driver to use blob vs. text?

Upvotes: 0

Views: 626

Answers (1)

jbellis
jbellis

Reputation: 19377

Don't use blob unless none of the other types makes sense. For XML it would make sense to me to use text.

Upvotes: 1

Related Questions