Many thanks! That seems to be useful,
But now I'm getting The error message: "Internal error processing insert" I'm not sure if I'm setting the timestamp properly 2010/3/15 Padraig O'Sullivan <osullivan.padr...@gmail.com> > You need to manually set the __isset fields when using the thift API > in C++. Since you are trying to insert a super column, you need to set > the super_column __isset field. > > So this: > > new_col.__isset.column = true; > > should become: > > new_col.__isset.super_column = true; > > -Padraig > > On Mon, Mar 15, 2010 at 12:36 PM, Juan Manuel Garcia del Moral > <j...@southcode.com.ar> wrote: > > 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 > > > > > -- Juan Manuel GarcĂa del Moral Southcode Global IT Resources j...@southcode.com.ar http://www.southcode.com.ar