Oh... OK, I see. Then, Is there a way to scan only specified version?
On Sun, May 24, 2009 at 1:34 AM, Erik Holstad <[email protected]> wrote: > Hi Edward! > Like Ryan said I think you are a little bit confused about where the > "versions" attribute applies. > It is a per family setting which means that for every family for every table > you can keep a different number > of versions. And when you scan you get that for every row > > When you use the scan command in the shell you might get some results that > looks a little bit weird if you don't know what > you are looking at. > > Try: > create 't1', {NAME => 'f1', VERSIONS => 1} > put 't1', 'r1', 'f1:qf1' ,'value1', 1 > put 't1', 'r1', 'f1:qf1' ,'value2', 2 > get 't1', 'r1', {COLUMN => 'f1:qf1'} > You should get something like: > timestamp=2, value=value2 > > Hope that it clears some stuff up for you. > > Erik > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org
