incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Manuel Garcia del Moral <j...@southcode.com.ar>
Subject SuperColumns in C++ API
Date Mon, 15 Mar 2010 16:36:37 GMT
Hello

I'm trying to add values using supercolumns but I get this error

ERROR: supercolumn parameter is not optional for super CF Anonimos

This is my code

// **********
 ColumnPath new_col;
    new_col.__isset.column     = true; /* this is required! */
    new_col.column_family.assign("Anonimos");
    new_col.super_column.assign("Tag");

    client.insert("SocialAds",
                  "1",
                  new_col,
                  "200",
                  123456789,
                  ONE);

// **********

What I'm doing wrong?

Thanks

Juan

Mime
View raw message