Re: sstable2json2sstable bug with json data stored

2011-06-16 Thread Timo Nentwig
On 6/16/11 10:12, Timo Nentwig wrote: On 6/16/11 10:06, Sasha Dolgy wrote: The JSON you are showing below is an export from cassandra? Yes. Just posted the solution: https://issues.apache.org/jira/browse/CASSANDRA-2780?focusedCommentId=13050274&page=com.atlassian.jira.plugin.system.issuetabpan

Re: sstable2json2sstable bug with json data stored

2011-06-16 Thread Timo Nentwig
On 6/16/11 10:06, Sasha Dolgy wrote: The JSON you are showing below is an export from cassandra? Yes. Just posted the solution: https://issues.apache.org/jira/browse/CASSANDRA-2780?focusedCommentId=13050274&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13050274

Re: sstable2json2sstable bug with json data stored

2011-06-16 Thread Sasha Dolgy
The JSON you are showing below is an export from cassandra? { "74657374": [["data", "{"foo":"bar"}", 1308209845388000]] } Does this work? { 74657374: [["data", {foo:"bar"}, 1308209845388000]] } -sd On Thu, Jun 16, 2011 at 9:49 AM, Timo Nentwig wrote: > On 6/15/11 17:41, Timo Nentwig wrote: >>

Re: sstable2json2sstable bug with json data stored

2011-06-16 Thread Timo Nentwig
On 6/15/11 17:41, Timo Nentwig wrote: (json can likely be boiled down even more...) Any JSON (well, probably anything with quotes...) breaks it: { "74657374": [["data", "{"foo":"bar"}", 1308209845388000]] } [default@foo] set transactions[test][data]='{"foo":"bar"}'; I feared that storing dat

sstable2json2sstable bug with json data stored

2011-06-15 Thread Timo Nentwig
Hi! Couldn't google anybody having yet experienced this, so I do (0.8): { "foo":{ "foo":{ "foo":"bar", "foo":"bar", "foo":"bar", "foo":"", "foo":"bar", "foo":"bar", "id":123456 } }, "foo":null } (json can likely be boiled down even more...)