Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84484100F9 for ; Tue, 11 Mar 2014 23:51:48 +0000 (UTC) Received: (qmail 66889 invoked by uid 500); 11 Mar 2014 23:51:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66856 invoked by uid 500); 11 Mar 2014 23:51:45 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 66846 invoked by uid 99); 11 Mar 2014 23:51:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 23:51:45 +0000 Date: Tue, 11 Mar 2014 23:51:45 +0000 (UTC) From: "Pavel Yaskevich (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6833) Add json data type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931173#comment-13931173 ] Pavel Yaskevich commented on CASSANDRA-6833: -------------------------------------------- +1 with [~iamaleksey], if users really want validation for JSON strings to be handled by Cassandra they can just add JSONType to their project and use it (that's still supported). That way at least it would be clear what it does, otherwise it would be the same as super columns, I've seen couple of examples when people started prototyping with them and moved to production unchanged just because it felt natural for the type of data that they were storing so no thought was given to re-modeling until the every end before they hit the bottleneck. > 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)