[ https://issues.apache.org/jira/browse/DRILL-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138575#comment-14138575 ]
Aditya Kishore commented on DRILL-1433: --------------------------------------- The updated patch looks good. +1. Thanks for reporting and the patch! > 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 > Attachments: > 0001-Fixing-HBase-store-when-row_key-doesn-t-exist-in-HBa.patch, > DRILL-1433-1.patch > > > 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)