I am asked to implement select for update in HQL in python. I haven't tried anything because I don’t have a good idea how I am going to go about it. As select for update fetches rows after we disable autocommit and there by achieve locking on particular rows in the table until we commit and enable autocommit , it seems to me a bit doubtful to achieve in hypertable. How could I lock a few rows in Hypertable?
For now I have a table like
CREATE TABLE foo (
c1,
c2,
ACCESS GROUP default (c1, c2)
);
select * from foo;
001 c1 a
001 c2 b
I am still beginning to learn hypertable .
Some help will be appreciated.