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 361B5200B58 for ; Wed, 13 Jul 2016 01:00:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 34D90160A89; Tue, 12 Jul 2016 23:00:26 +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 83F90160A56 for ; Wed, 13 Jul 2016 01:00:25 +0200 (CEST) Received: (qmail 68952 invoked by uid 500); 12 Jul 2016 23:00:24 -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 68923 invoked by uid 99); 12 Jul 2016 23:00:24 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 23:00:24 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B9962C02A1 for ; Tue, 12 Jul 2016 23:00:24 +0000 (UTC) Date: Tue, 12 Jul 2016 23:00:24 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4530) Improve metadata cache performance for queries with single partition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Jul 2016 23:00:26 -0000 [ https://issues.apache.org/jira/browse/DRILL-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373879#comment-15373879 ] ASF GitHub Bot commented on DRILL-4530: --------------------------------------- Github user jinfengni commented on the issue: https://github.com/apache/drill/pull/519 Other than prior comments, the pruning logic looks good to me. > Improve metadata cache performance for queries with single partition > --------------------------------------------------------------------- > > Key: DRILL-4530 > URL: https://issues.apache.org/jira/browse/DRILL-4530 > Project: Apache Drill > Issue Type: Improvement > Components: Query Planning & Optimization > Affects Versions: 1.6.0 > Reporter: Aman Sinha > Assignee: Aman Sinha > Fix For: Future > > > Consider two types of queries which are run with Parquet metadata caching: > {noformat} > query 1: > SELECT col FROM `A/B/C`; > query 2: > SELECT col FROM `A` WHERE dir0 = 'B' AND dir1 = 'C'; > {noformat} > For a certain dataset, the query1 elapsed time is 1 sec whereas query2 elapsed time is 9 sec even though both are accessing the same amount of data. The user expectation is that they should perform roughly the same. The main difference comes from reading the bigger metadata cache file at the root level 'A' for query2 and then applying the partitioning filter. query1 reads a much smaller metadata cache file at the subdirectory level. -- This message was sent by Atlassian JIRA (v6.3.4#6332)