Tupshin Harper created CASSANDRA-6710:
-----------------------------------------
Summary: Support union types
Key: CASSANDRA-6710
URL: https://issues.apache.org/jira/browse/CASSANDRA-6710
Project: Cassandra
Issue Type: Improvement
Components: API, Core
Reporter: Tupshin Harper
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)