VSP
VSP

Reputation: 293

how to read Hbase current and previous versions of data from hive or impala?

I want to read Hbase current and previous versions of data from either hive or Impala.In my initial research, I found out that only current version can be accessed from Hive. So, currently is there any way to retrieve the older versions from either hive or Impala?

Upvotes: 1

Views: 371

Answers (1)

Ram Ghadiyaram
Ram Ghadiyaram

Reputation: 29155

In case of Hive : Please see this

Seems like it's not possible to get different versions of same cell in Hive(even though Hbase has multiple versions of the same cell ) which always return the cell with latest timestamp. I believe we can handle this in tactical way. we can append the previous version to Hbase row key or else as separate cell (name, value)
In case of Impala : Please see limitations section

Upvotes: 0

Related Questions