Cassandra: text vs varchar

text is just an alias for varchar!

The documentation:

  • Using cql3 – Datastax
  • CQL commands – Datastax
  • Documentation on Datatypes in CQL – Datastax
  • CQL3 Documentation – Apache

EDIT

Here’s the link to the C* 1.2 docs. The text vs varchar info is still the same, however this document contains some extra datatypes.

EDIT v2
Documentation links have been updated to the docs for C* 3. I couldn’t find a good alternative for the C* 1.2 docs.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)