Details
-
Bug
-
Status: Resolved
-
Urgent
-
Resolution: Fixed
-
None
-
Cassandra 3.11
-
Critical
Description
When a column family is created and a Tuple is used on clustering column with default clustering order DESC, then the INSERT statement fails.
For example, the following table will make the INSERT statement fail with error message "Invalid tuple type literal for tdemo of type frozen<tuple<timestamp, text>>" , although the INSERT statement is correct (works as expected when the default order is ASC)
create table test_table ( id int, tdemo tuple<timestamp, varchar>, primary key (id, tdemo) ) with clustering order by (tdemo desc);