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 71238200D37 for ; Thu, 26 Oct 2017 00:56:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6FC7E160BDA; Wed, 25 Oct 2017 22:56:09 +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 C3E1A160BF2 for ; Thu, 26 Oct 2017 00:56:08 +0200 (CEST) Received: (qmail 10753 invoked by uid 500); 25 Oct 2017 22:56:07 -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 10692 invoked by uid 99); 25 Oct 2017 22:56:07 -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, 25 Oct 2017 22:56:07 +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 54C3FC3FC7 for ; Wed, 25 Oct 2017 22:56:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 u94uj5D-pLAi for ; Wed, 25 Oct 2017 22:56:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0041A5FCD3 for ; Wed, 25 Oct 2017 22:56:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 90DFEE0F7D for ; Wed, 25 Oct 2017 22:56:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 027FB212FC for ; Wed, 25 Oct 2017 22:56:02 +0000 (UTC) Date: Wed, 25 Oct 2017 22:56:02 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5783) Make code generation in the TopN operator more modular and test it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 25 Oct 2017 22:56:09 -0000 [ https://issues.apache.org/jira/browse/DRILL-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219695#comment-16219695 ] ASF GitHub Bot commented on DRILL-5783: --------------------------------------- Github user ilooner commented on a diff in the pull request: https://github.com/apache/drill/pull/984#discussion_r147008923 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestCTASPartitionFilter.java --- @@ -59,48 +58,48 @@ public void withDistribution() throws Exception { test("alter session set `planner.slice_target` = 1"); test("alter session set `store.partition.hash_distribute` = true"); test("use dfs_test.tmp"); - test(String.format("create table orders_distribution partition by (o_orderpriority) as select * from dfs_test.`%s/multilevel/parquet`", TEST_RES_PATH)); + test("create table orders_distribution partition by (o_orderpriority) as select * from dfs_test.`/multilevel/parquet`"); String query = "select * from orders_distribution where o_orderpriority = '1-URGENT'"; - testExcludeFilter(query, 1, "Filter", 24); + testExcludeFilter(query, 1, "Filter\\(", 24); --- End diff -- It is no longer sufficient to match "Filter" because the test class name contains "Filter" and the test class name is used to create the tmp directory. And the fully qualified path of a queried file is included in the plan. We want to only match the Filter steps generated in the plan, not the Filters in our file paths. In order to do this I tell it to match "Filter(" which corresponds to a filter step in the plan. > Make code generation in the TopN operator more modular and test it > ------------------------------------------------------------------ > > Key: DRILL-5783 > URL: https://issues.apache.org/jira/browse/DRILL-5783 > Project: Apache Drill > Issue Type: Improvement > Reporter: Timothy Farkas > Assignee: Timothy Farkas > -- This message was sent by Atlassian JIRA (v6.4.14#64029)