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 7BF96200BC1 for ; Wed, 16 Nov 2016 19:03:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7A8EA160B13; Wed, 16 Nov 2016 18:03: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 C49DD160B08 for ; Wed, 16 Nov 2016 19:03:03 +0100 (CET) Received: (qmail 88065 invoked by uid 500); 16 Nov 2016 18:03:03 -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 88054 invoked by uid 99); 16 Nov 2016 18:03:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 18:03:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5E0E0C3147 for ; Wed, 16 Nov 2016 18:03:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6V9Eet9xgK2X for ; Wed, 16 Nov 2016 18:02:59 +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-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3F41D5F306 for ; Wed, 16 Nov 2016 18:02:58 +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 uAGI2uX9020915; Wed, 16 Nov 2016 18:02:56 GMT Message-Id: <201611161802.uAGI2uX9020915@ip-10-146-233-104.ec2.internal> Date: Wed, 16 Nov 2016 18:02:56 +0000 From: "Tim Armstrong (Code Review)" To: Michael Ho , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Mostafa Mokhtar Reply-To: tarmstrong@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3838=3A_Codegen_EvalRuntimeFilters=28=29=2E=0A?= X-Gerrit-Change-Id: I27114869840e268d17e91d6e587ef811628e3837 X-Gerrit-ChangeURL: X-Gerrit-Commit: c6cf627255c5bb5758642e77c696770ee65cdee0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.2 archived-at: Wed, 16 Nov 2016 18:03:04 -0000 Tim Armstrong has posted comments on this change. Change subject: IMPALA-3838: Codegen EvalRuntimeFilters(). ...................................................................... Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/4833/1/be/src/exec/hdfs-parquet-scanner-ir.cc File be/src/exec/hdfs-parquet-scanner-ir.cc: Line 73: if (!filter_ctxs_[i]->Eval(row)) { > Actually, RuntimeFilter::Eval() will return true if the filter hasn't arriv I had it reversed - as far as I can see, before filter arrival, it will increment 'considered' and not 'rejected' for every row processed even though the filter is not available yet. I couldn't convince myself that the code was right, so I added some logging and it looks like it's doing something that doesn't make sense: IMPALA-4495 http://gerrit.cloudera.org:8080/#/c/4833/2/be/src/runtime/runtime-filter.h File be/src/runtime/runtime-filter.h: PS2, Line 61: tuple row Is it a tuple row? I though it was a raw value pointer? -- To view, visit http://gerrit.cloudera.org:8080/4833 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I27114869840e268d17e91d6e587ef811628e3837 Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Michael Ho Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Mostafa Mokhtar Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes