Bhallamudi Venkata Siva Kamesh created DRILL-1433:
-----------------------------------------------------
Summary: Where query on HBase store fails when row_key doesn't
exist in HBase
Key: DRILL-1433
URL: https://issues.apache.org/jira/browse/DRILL-1433
Project: Apache Drill
Issue Type: Bug
Components: Storage - HBase
Affects Versions: 0.6.0
Reporter: Bhallamudi Venkata Siva Kamesh
Give any query on hbase using where clause. If the queried row_key does not
exist on HBase,
query fails with the following exception
{noformat}
java.lang.ArithmeticException: / by zero
at
org.apache.drill.exec.store.hbase.TableStatsCalculator.<init>(TableStatsCalculator.java:88)
~[drill-storage-hbase-0.6.0-incubating-SNAPSHOT.jar:0.6.0-incubating-SNAPSHOT]
at
org.apache.drill.exec.store.hbase.HBaseGroupScan.init(HBaseGroupScan.java:150)
~[drill-storage-hbase-0.6.0-incubating-SNAPSHOT.jar:0.6.0-incubating-SNAPSHOT]
at
org.apache.drill.exec.store.hbase.HBaseGroupScan.<init>(HBaseGroupScan.java:116)
~[drill-storage-hbase-0.6.0-incubating-SNAPSHOT.jar:0.6.0-incubating-SNAPSHOT]
at
org.apache.drill.exec.store.hbase.HBaseStoragePlugin.getPhysicalScan(HBaseStoragePlugin.java:65)
~[drill-storage-hbase-0.6.0-incubating-SNAPSHOT.jar:0.6.0-incubating-SNAPSHOT]
at
org.apache.drill.exec.store.hbase.HBaseStoragePlugin.getPhysicalScan(HBaseStoragePlugin.java:35)
~[drill-storage-hbase-0.6.0-incubating-SNAPSHOT.jar:0.6.0-incubating-SNAPSHOT]
at
org.apache.drill.exec.planner.logical.DrillTable.getGroupScan(DrillTable.java:53)
~[drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)