Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Not A Problem
-
None
Description
I sometimes find myself wanting to abuse Cassandra datatypes when I want to interleave two different types in the same column.
An example is in CASSANDRA-6167 where an approach is to tag what would normally be a numeric field with text indicating that it is special in some ways.
A more elegant approach would be to be able to explicitly define disjoint unions in the style of Haskell's and Scala's Either types.