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 B2623200CD9 for ; Thu, 3 Aug 2017 21:06:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B0D0016C560; Thu, 3 Aug 2017 19:06: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 02BAA16C55F for ; Thu, 3 Aug 2017 21:06:03 +0200 (CEST) Received: (qmail 2512 invoked by uid 500); 3 Aug 2017 19:06:03 -0000 Mailing-List: contact dev-help@datafu.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@datafu.incubator.apache.org Delivered-To: mailing list dev@datafu.incubator.apache.org Received: (qmail 2497 invoked by uid 99); 3 Aug 2017 19:06:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 19:06:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B426AC01DB for ; Thu, 3 Aug 2017 19:06:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id oavzhI7AhqWY for ; Thu, 3 Aug 2017 19:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D45315F3D1 for ; Thu, 3 Aug 2017 19:06:00 +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 5C8D2E0031 for ; Thu, 3 Aug 2017 19:06:00 +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 181922464C for ; Thu, 3 Aug 2017 19:06:00 +0000 (UTC) Date: Thu, 3 Aug 2017 19:06:00 +0000 (UTC) From: "Matthew Hayes (JIRA)" To: dev@datafu.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (DATAFU-123) Allow DataFu to include macros MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 19:06:04 -0000 [ https://issues.apache.org/jira/browse/DATAFU-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthew Hayes closed DATAFU-123. -------------------------------- Resolution: Fixed > Allow DataFu to include macros > ------------------------------- > > Key: DATAFU-123 > URL: https://issues.apache.org/jira/browse/DATAFU-123 > Project: DataFu > Issue Type: Improvement > Reporter: Eyal Allweil > Assignee: Eyal Allweil > Labels: testability > Fix For: 1.3.3 > > Attachments: DATAFU-123.patch > > > A few changes to allow macros to be contributed to DataFu. If a macro file is placed in src/main/resources, it can be used by registering the DataFu jar. Such macros can then be tested both from within Eclipse and Gradle. > There are three small parts: > 1) All unit tests that use createPigTest methods will automatically register the DataFu jar. > 2) Some changes to fix the PigTests.getJarPath() functionality, which doesn't appear to work. (these changes are aligned with the proposed patch for [DATAFU-106|https://issues.apache.org/jira/browse/DATAFU-106]) > 3) A sample macro and test > The changes here will allow moving forward with [DATAFU-61|https://issues.apache.org/jira/browse/DATAFU-61] and including the macro I suggested for [DATAFU-119|https://issues.apache.org/jira/browse/DATAFU-119]. (I also have additional content in mind) -- This message was sent by Atlassian JIRA (v6.4.14#64029)