The key is 'VERSIONS'.  Give it another shot.

-ryan

On Thu, May 21, 2009 at 11:07 PM, Edward J. Yoon <[email protected]>wrote:

> hbase(main):001:0> create 't1', {NAME=> 'f1', VERSION => 1}
> hbase(main):002:0> put 't1', 'r1', 'f1' ,'value', 1
> hbase(main):007:0> put 't1', 'r2', 'f1:' ,'value', 2
>
> I made a table 't1' as above. And, When scan this,
>
> hbase(main):008:0> scan 't1'
> ROW                          COLUMN+CELL
>  r1                          column=f1:, timestamp=1, value=value
>  r2                          column=f1:, timestamp=2, value=value
> 2 row(s) in 0.0330 seconds
>
> I expected only one row 'r2' (sparse table for time t2) but there are
> two tables on time dimension. I think it's a logical bug. The 't1'
> should maintain only one version of time dimension table.
>
> What do you think?
> --
> Best Regards, Edward J. Yoon @ NHN, corp.
> [email protected]
> http://blog.udanax.org
>

Reply via email to