You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2012/08/14 02:11:38 UTC
[jira] [Moved] (PIG-2874) PigServer fails with macros without a
script file
[ https://issues.apache.org/jira/browse/PIG-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham moved CHUKWA-661 to PIG-2874:
-----------------------------------------
Key: PIG-2874 (was: CHUKWA-661)
Project: Pig (was: Chukwa)
> PigServer fails with macros without a script file
> -------------------------------------------------
>
> Key: PIG-2874
> URL: https://issues.apache.org/jira/browse/PIG-2874
> 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