有人知道Cassandra中的两个CQL数据类型text
和varchar
之间的区别吗?Cassandra文档将这两种类型描述为"UTF-8编码字符串",仅此而已.
有人知道Cassandra中的两个CQL数据类型text
和varchar
之间的区别吗?Cassandra文档将这两种类型描述为"UTF-8编码字符串",仅此而已.
text
只是varchar
的别名!
文档:
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个 文档链接已经更新到C*3的文档.我找不到C*1.2文档的好替代品.