cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9735) Add ignore extra fields for inserting JSON?
Date Mon, 06 Jul 2015 15:41:05 GMT

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

Jonathan Ellis commented on CASSANDRA-9735:
-------------------------------------------

I don't see either "automatically issue ALTER when a new field is seen" or "silently drop
unrecognized fields on the floor" as good features to add...

> Add ignore extra fields for inserting JSON?
> -------------------------------------------
>
>                 Key: CASSANDRA-9735
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9735
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Christopher Batey
>            Priority: Minor
>
> One of the use cases I see for the INSERT into JSON ... syntax is for when incoming data
matches their schema. It would be nice to allow extra fields as to not be too brittle.
> However I think strict validation should be the default so maybe the insert or table
can include an extra flag?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message