cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sasha Dolgy <sdo...@gmail.com>
Subject Re: sstable2json2sstable bug with json data stored
Date Thu, 16 Jun 2011 08:06:45 GMT
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 <timo.nentwig@toptarif.de> wrote:
> 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 data in a readable fashion would be a fateful idea.
>
> https://issues.apache.org/jira/browse/CASSANDRA-2780

Mime
View raw message