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 33D06200D37 for ; Thu, 26 Oct 2017 08:08:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3245A160BE0; Thu, 26 Oct 2017 06:08:04 +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 78325160BDA for ; Thu, 26 Oct 2017 08:08:03 +0200 (CEST) Received: (qmail 14518 invoked by uid 500); 26 Oct 2017 06:08:02 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 14507 invoked by uid 99); 26 Oct 2017 06:08:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 06:08:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9A7871A1739 for ; Thu, 26 Oct 2017 06:08:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.363 X-Spam-Level: ** X-Spam-Status: No, score=2.363 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VG9y2pDefzpl for ; Thu, 26 Oct 2017 06:08:00 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E110C5FD01 for ; Thu, 26 Oct 2017 06:07:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v9Q67wFq027186; Thu, 26 Oct 2017 06:07:58 GMT Message-Id: <201710260607.v9Q67wFq027186@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 13 Date: Thu, 26 Oct 2017 06:07:57 +0000 From: "Attila Jeges (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3548=3A_Prune_runtime_filters_based_on_query_options_in_the_FE=0A?= X-Gerrit-Change-Id: Id0f0b200e02442edcad8df3979f652d66c6e52eb X-Gerrit-Change-Number: 7564 X-Gerrit-ChangeURL: X-Gerrit-Commit: eb96caeb5fa44e4027d293fb43ac28046b07da45 In-Reply-To: References: Reply-To: attilaj@cloudera.com, impala-cr@cloudera.com, marcelk@gmail.com, reviews@impala.incubator.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="zqwiEl8LW9k="; charset=UTF-8 archived-at: Thu, 26 Oct 2017 06:08:04 -0000 --zqwiEl8LW9k= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Attila Jeges has uploaded a new patch set (#13)=2E ( http://gerrit=2Ecloude= ra=2Eorg:8080/7564 ) Change subject: IMPALA-3548: Prune runtime filters ba= sed on query options in the FE =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E IMPALA-3548: Prune runtime filters based on query optio= ns in the FE Currently, the FE generates a number of runtime filters and a= ssigns them to the single node plan without taking the value of RUNTIME_FIL= TER_MODE and DISABLE_ROW_RUNTIME_FILTERING query options into account=2E T= he backend then removes filters from exec nodes, based on the following rul= es: 1=2E If DISABLE_ROW_RUNTIME_FILTERING is set, filters are removed from = the exec nodes that are marked as targets not bound by partition colu= mns=2E 2=2E If RUNTIME_FILTER_MODE is set to LOCAL, filters are removed fr= om the exec nodes that are marked as remote targets=2E This may cause s= ome confusion to users because they may see runtime filters in the output o= f explain that are not applied when the query is executed=2E This change m= oves the logic of runtime filter pruning to the planner in the FE=2E The ru= ntime filter assignment is done on the distributed plan and the above const= raints are enforced there directly=2E Change-Id: Id0f0b200e02442edcad8df39= 79f652d66c6e52eb --- M be/src/exec/partitioned-hash-join-builder=2Ecc M be/= src/exec/scan-node=2Ecc M be/src/runtime/coordinator=2Ecc M be/src/service/= fe-support=2Ecc M fe/src/main/java/org/apache/impala/planner/DistributedPla= nner=2Ejava M fe/src/main/java/org/apache/impala/planner/Planner=2Ejava M f= e/src/main/java/org/apache/impala/planner/RuntimeFilterGenerator=2Ejava M f= e/src/main/java/org/apache/impala/service/FeSupport=2Ejava M fe/src/test/ja= va/org/apache/impala/planner/PlannerTest=2Ejava M fe/src/test/java/org/apac= he/impala/planner/PlannerTestBase=2Ejava M fe/src/test/java/org/apache/impa= la/testutil/TestFileParser=2Ejava A testdata/workloads/functional-planner/q= ueries/PlannerTest/runtime-filter-query-options=2Etest 12 files changed, 77= 5 insertions(+), 108 deletions(-) git pull ssh://gerrit=2Ecloudera=2Eor= g:29418/Impala-ASF refs/changes/64/7564/13 -- To view, visit http://gerrit= =2Ecloudera=2Eorg:8080/7564 To unsubscribe, visit http://gerrit=2Ecloudera= =2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerr= it-MessageType: newpatchset Gerrit-Change-Id: Id0f0b200e02442edcad8df3979f6= 52d66c6e52eb Gerrit-Change-Number: 7564 Gerrit-PatchSet: 13 Gerrit-Owner: A= ttila Jeges Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Attila Jeges Ge= rrit-Reviewer: Dimitris Tsirogiannis Gerrit-= Reviewer: Impala Public Jenkins Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Michael Ho Gerrit-Review= er: Philip Zeyliger Gerrit-Reviewer: Thomas Tauber-= Marshall --zqwiEl8LW9k=--