Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE73DD1F2 for ; Thu, 9 Aug 2012 22:33:21 +0000 (UTC) Received: (qmail 11180 invoked by uid 500); 9 Aug 2012 22:33:19 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 11123 invoked by uid 500); 9 Aug 2012 22:33:19 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 10973 invoked by uid 500); 9 Aug 2012 22:33:19 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 10933 invoked by uid 99); 9 Aug 2012 22:33:19 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 22:33:19 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 502C614281A for ; Thu, 9 Aug 2012 22:33:19 +0000 (UTC) Date: Thu, 9 Aug 2012 22:33:19 +0000 (UTC) From: "Bill Graham (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <34152635.4182.1344551599331.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (PIG-2868) PigServer fails with macros without a script file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432237#comment-13432237 ] Bill Graham commented on PIG-2868: ---------------------------------- Duplicate of PIG-2866. Can't close this JIRA because it's in a bad state (see INFRA-5131). > PigServer fails with macros without a script file > ------------------------------------------------- > > Key: PIG-2868 > URL: https://issues.apache.org/jira/browse/PIG-2868 > Project: Pig > Issue Type: Bug > Reporter: Bill Graham > Assignee: Bill Graham > > Making a call to {{PigServer.registerQuery}} with an {{InputStream}} will fail if the script contains a macro. This is because {{QueryParserDriver.makeMacroDef}} requires a filename. {{QueryParserDriver.makeMacroDef}} should be changed to not assume that the script input is from a file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira