Navis created HIVE-3617: --------------------------- Summary: Predicates pushed down to hbase is not handled properly when constant part is shown first Key: HIVE-3617 URL: https://issues.apache.org/jira/browse/HIVE-3617 Project: Hive Issue Type: Bug Components: HBase Handler Reporter: Navis Assignee: Navis Priority: Minor
Test result could not show the difference because predicates pushed down are not removed currently(HIVE-2897). So I added log message(scan.toMap()) and checked the output. with query select * from hbase_ppd_keyrange where key > 8 and key < 21; timeRange=[0, 9223372036854775807], batch=-1, startRow=\x00\x00\x00\x08\x00, stopRow=\x00\x00\x00\x15, ... but with query select * from hbase_ppd_keyrange where 8 < key and key < 21; timeRange=[0, 9223372036854775807], batch=-1, startRow=, stopRow=\x00\x00\x00\x15, ... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira