cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Bossa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6833) Add json data type
Date Tue, 11 Mar 2014 20:40:45 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930922#comment-13930922
] 

Sergio Bossa commented on CASSANDRA-6833:
-----------------------------------------

I agree with [~iamaleksey]: that would definitely give users the wrong message, and encourage
what in the end is a bad practice.
I've personally done that in the past (stuffing JSON blobs inside columns), and that's a pretty
opaque and inefficient way of modelling your data, as opposed to CQL3.

> Add json data type
> ------------------
>
>                 Key: CASSANDRA-6833
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6833
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 2.0.7
>
>
> While recognizing that UDT (CASSANDRA-5590) is the Right Way to store hierarchical data
in C*, it can still be useful to store json blobs as text.  Adding a json type would allow
validating that data.  (And adding formatting support in cqlsh?)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message