hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devi Sunil Kumar Shegu <sunil143d...@gmail.com>
Subject Scan and Get - different results
Date Thu, 02 Mar 2017 09:48:19 GMT
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