1

I have a table in hypertable where the row key is a user id. I wanted to select just the row key itself, but I get parse errors for:

select ROW from users where ROW='1000' limit 5;
Error: Hypertable::Exception: Table= twitter/users , Column family=row - RANGE SERVER invalid column family

Is it possible to just get the row key using hql?

edibleEnergy
  • 1,739
  • 1
  • 13
  • 15

1 Answers1

3

USE KEYS_ONLY OPTION:

select * from users where ROW='1000' KEYS_ONLY limit 5;
demongolem
  • 9,474
  • 36
  • 90
  • 105
Fabio Mazzo
  • 329
  • 2
  • 7