Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 29847200BF4 for ; Fri, 23 Dec 2016 00:04:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26821160B35; Thu, 22 Dec 2016 23:04:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6FA99160B26 for ; Fri, 23 Dec 2016 00:03:59 +0100 (CET) Received: (qmail 72208 invoked by uid 500); 22 Dec 2016 23:03:58 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 72181 invoked by uid 99); 22 Dec 2016 23:03:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2016 23:03:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 838CD2C03DC for ; Thu, 22 Dec 2016 23:03:58 +0000 (UTC) Date: Thu, 22 Dec 2016 23:03:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5137) Optimize count(*) queries on MapR-DB Binary Tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Dec 2016 23:04:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15771347#comment-15771347 ] ASF GitHub Bot commented on DRILL-5137: --------------------------------------- Github user spanchamiamapr commented on a diff in the pull request: https://github.com/apache/drill/pull/700#discussion_r93710708 --- 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 -- I thought of this, however I got stuck because there is no vectorContainerWriter in HBaseRecordReader class. If you can send a diff of how to do this, I can include that too. Thanks! > 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)