hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Scan and Get - different results
Date Thu, 02 Mar 2017 16:20:10 GMT
Can that not be causes by the filter? What scan gives you if you remove the
filter?

2017-03-02 11:03 GMT-05:00 Ted Yu <yuzhihong@gmail.com>:

> When you issue raw scan, what output do you get ?
>
>   hbase> scan 't1', {RAW => true}
>
> BTW looks like you have row key 'status', I am bit curious what your schema
> is - 'status' is such general term.
>
> On Thu, Mar 2, 2017 at 1:48 AM, Devi Sunil Kumar Shegu <
> sunil143devi@gmail.com> wrote:
>
> > Hi,
> >
> > Scan and get are yielding different results for the same column even when
> > versioning is disabled.
> >
> > Thanks in advance and please check the details below
> >
> > Description of the table:
> >
> > {NAME => 'u', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY =>
> 'false',
> > KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL =>
> > 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE =>
> > 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'}
> >
> > Query 1:
> >
> > get 'tableName', 'status', 'u:1206'
> > colum: u:1206 ----value: registered ------ timestamp: 1488446959115
> >
> >
> > Query 2:
> >
> > scan 'tableName', {FILTER => "ValueFilter(=, 'binary:anonymous')",
> COLUMNS
> > => 'u:1206', STARTROW=>'status', STOPROW=> 'status'}
> >
> > key:status      column=u:1206   value=anonymous  timestamp: 1488446869428
> >
> >
> > One column has two values when versioned is disabled. Any insights?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message