Consider making TEXT and VARCHAR equal

Description

In Cassandra, varchar is a synonym for text: if you create a table with a varchar column, DESC TABLE displays text.

In the driver, we consider the two types as different (the comparison is based on the DataType.NAME enum). This can lead to counter-intuitive behavior with tuples:

This is reflected in TupleTest and UserTypesTest, where we have to compare using toString().

Environment

None

Pull Requests

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created July 25, 2014 at 2:26 PM
Updated November 4, 2014 at 4:33 PM
Resolved October 8, 2014 at 3:19 PM