[
https://issues.apache.org/jira/browse/DRILL-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15767686#comment-15767686
]
ASF GitHub Bot commented on DRILL-5137:
---------------------------------------
Github user adityakishore commented on a diff in the pull request:
https://github.com/apache/drill/pull/700#discussion_r93487747
--- Diff:
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseRecordReader.java
---
@@ -124,6 +124,11 @@ public HBaseRecordReader(Connection connection,
HBaseSubScan.HBaseSubScanSpec su
} else {
rowKeyOnly = false;
transformed.add(ROW_KEY_PATH);
+ /* DRILL-5137 - optimize count(*) queries on MapR-DB Binary tables */
+ if (isSkipQuery()) {
--- End diff --
Further optimization can be name by returning only a `count` vector in the
`next()` call, similar to
[this](https://github.com/apache/drill/blob/master/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/db/json/MaprDBJsonRecordReader.java#L203-L204).
> Optimize count(*) queries on MapR-DB Binary Tables
> --------------------------------------------------
>
> Key: DRILL-5137
> URL: https://issues.apache.org/jira/browse/DRILL-5137
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - HBase, Storage - MapRDB
> Affects Versions: 1.9.0
> Reporter: Abhishek Girish
> Assignee: Smidth Panchamia
>
> This is related to DRILL-5065, but applies to MapR-DB Binary tables
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)