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

Christopher Batey commented on CASSANDRA-9735:
----------------------------------------------

I don't think silently dropping is a good idea, i think it should be explicit 
in the insert. Say you're storing a response from another system but don't want 
to keep all the fields or break if they add a field you aren't interested in.

> 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)

Reply via email to