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 A6028200BEA for ; Mon, 12 Dec 2016 20:30:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A2F28160B1A; Mon, 12 Dec 2016 19:30: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 22F19160B2A for ; Mon, 12 Dec 2016 20:29:59 +0100 (CET) Received: (qmail 13885 invoked by uid 500); 12 Dec 2016 19:29:59 -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 13764 invoked by uid 99); 12 Dec 2016 19:29:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 19:29:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A43942C03EE for ; Mon, 12 Dec 2016 19:29:58 +0000 (UTC) Date: Mon, 12 Dec 2016 19:29:58 +0000 (UTC) From: "Abhishek Girish (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5065) Optimize count( *) queries on MapR-DB JSON Tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 19:30:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15742896#comment-15742896 ] Abhishek Girish commented on DRILL-5065: ---------------------------------------- [~smidth], can you please mark this as REVIEWABLE? I've added a "ready-to-commit" label, since you have already got a +1. > Optimize count( *) queries on MapR-DB JSON Tables > ------------------------------------------------- > > Key: DRILL-5065 > URL: https://issues.apache.org/jira/browse/DRILL-5065 > Project: Apache Drill > Issue Type: Improvement > Components: Storage - MapRDB > Affects Versions: 1.9.0 > Environment: Clusters with MapR v5.2.0 and above > Reporter: Abhishek Girish > Assignee: Smidth Panchamia > Labels: ready-to-commit > > The JSON FileReader optimizes count(* ) queries, by only counting the number of records in the files and discarding the data. This makes the query execution faster & efficient. > We need a similar feature in the MapR format plugin (maprdb) to optimize _id only projection & count(* ) queries on MapR-DB JSON Tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)