You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tupshin Harper (JIRA)" <ji...@apache.org> on 2014/02/14 16:24:19 UTC
[jira] [Created] (CASSANDRA-6710) Support union types
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)