You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Sagy Drucker <sa...@benigo.com> on 2011/11/22 11:13:54 UTC

bug when using hive to read from hypertable

hello
my name is Sagy Drucker,
 From Israel
I think i detected a bug

I am using hive-0.7.1
and reading from hypertable 0.9.5.0

the problem i encountered:

when entering queries withOUT any condition on table's key
such as:
select * from myTable limit 2;

in the java class "HiveHTInputFormat.java"
when i try to get the query from the jobConfiguration
via:
String query = job.get("hive.query.string");

first time i get null.
when second query i type:
select * from myTable limit 4;

and now i get the PREVIOUS query. i.e.
String query = job.get("hive.query.string") is actually
  select * from myTable limit 2

and so on... always 1 delay in queries...
again, this happens only when querying without any condition on keys.
thanks

sagy