Re: Document storage

2012-03-30 Thread Ben McCann
> > If you don't need selected updates and having something as compact as > possible on disk make a important difference for you, sure, do use blobs. > The only argument is that you can already do that without any change to > the core. The thing that we can't do today without changes to the core

Re: Document storage

2012-03-29 Thread Ben McCann
2 at 12:35 PM, Jonathan Ellis wrote: > I kind of hijacked > https://issues.apache.org/jira/browse/CASSANDRA-3647 ("Sylvain > suggests we start with (non-nested) lists, maps, and sets. I agree > that this is a great 80/20 approach to the problem") but we could > split it ou

Re: Document storage

2012-03-29 Thread Ben McCann
ing/facilitating the conversation. If we know > who should be involved. > > -brian > > > Brian O'Neill > Lead Architect, Software Development > Health Market Science | 2700 Horizon Drive | King of Prussia, PA 19406 > p: 215.588.6024blog: http://weblogs.java.net/blog/boneill

Re: Document storage

2012-03-29 Thread Ben McCann
Jonathan, I asked Brian about his REST APIand he said he does not take the json objects and split them because the client libraries do not agree on implementations. This was exactly my concern as well with this solution.

Re: Document storage

2012-03-29 Thread Ben McCann
Creating materialized paths may well be a possible solution. If that were the solution the community were to agree upon then I would like it to be a standardized and well-documented best practice. I asked how to store a list of values on the user list

Re: Document storage

2012-03-29 Thread Ben McCann
te portions > of the document (as well as reconstruct it). > > On Wed, Mar 28, 2012 at 11:58 AM, Ben McCann wrote: > > > Hi, > > > > I was wondering if it would be interesting to add some type of > > document-oriented data type. > > > > I've found i

Re: Document storage

2012-03-29 Thread Ben McCann
he value and parse it > using Jackson, if you don't get any exceptions you're JSON/Smile is valid ;) > > -- Drew > > > > On Mar 28, 2012, at 9:28 PM, Ben McCann wrote: > > > I don't imagine sort is a meaningful operation on JSON data. As long as > >

Re: Document storage

2012-03-28 Thread Ben McCann
tion - a json type. However, > what would validation look like? That's one of the main reasons there are > the data types and validators, in order to validate on insert. > > > > On Mar 29, 2012, at 12:27 AM, Ben McCann wrote: > > > >> Any thoughts? I'd

Re: Document storage

2012-03-28 Thread Ben McCann
Any thoughts? I'd like to submit a patch, but only if it will be accepted. Thanks, Ben On Wed, Mar 28, 2012 at 8:58 AM, Ben McCann wrote: > Hi, > > I was wondering if it would be interesting to add some type of > document-oriented data type. > > I've found

Document storage

2012-03-28 Thread Ben McCann
Hi, I was wondering if it would be interesting to add some type of document-oriented data type. I've found it somewhat awkward to store document-oriented data in Cassandra today. I can make a JSON/Protobuf/Thrift, serialize it, and store it, but Cassandra cannot differentiate it from any other s