Hi,
On Fri, May 15, 2009 at 4:43 PM, sanyama <[email protected]> wrote:
>
> Hi All,
>
> i got this link for my questions solved
> http://code.google.com/p/hypertable/wiki/HQLTutorial
>
> But after viewing this tutorial, i had one doubt
>
>>How can i update any row in my Hypertable table?
You do it by simply inserting a cell with the same key as the one you
want to update, e.g.
if you have a cell
ROW_KEY_1 column_family:qualifier VALUE_1
and you want it to be VERY_LONG_VALUE_1 you do it by running this command
hypertable> insert into table dummy_table values ("ROW_KEY_1",
"column_family:qualifier", "VERY_LONG_VALUE_1");
this will also retain the previous version unless you have a limit on
the number of versions you want to keep in your table. The newer cells
sort before the older ones so it's going to be the first one to be
retrieved.
Let's just hope I am not wrong :-)
Mateusz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---