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 5C1B3200BE3 for ; Fri, 23 Dec 2016 00:03:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5AAA3160B27; Thu, 22 Dec 2016 23:03:03 +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 9C660160B26 for ; Fri, 23 Dec 2016 00:03:02 +0100 (CET) Received: (qmail 71273 invoked by uid 500); 22 Dec 2016 23:03:01 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 71258 invoked by uid 99); 22 Dec 2016 23:03:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2016 23:03:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 62199DFCC0; Thu, 22 Dec 2016 23:03:01 +0000 (UTC) From: spanchamiamapr To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request #700: DRILL-5137 - Optimize count(*) queries on MapR-DB B... Content-Type: text/plain Message-Id: <20161222230301.62199DFCC0@git1-us-west.apache.org> Date: Thu, 22 Dec 2016 23:03:01 +0000 (UTC) archived-at: Thu, 22 Dec 2016 23:03:03 -0000 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! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---