You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2012/08/14 07:35:38 UTC

[jira] [Moved] (INFRA-5139) PigServer fails with macros without a script file

     [ https://issues.apache.org/jira/browse/INFRA-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Graham moved PIG-2874 to INFRA-5139:
-----------------------------------------

    Security: public
    Assignee:     (was: Bill Graham)
    Workflow: INFRA Workflow  (was: no-reopen-closed, patch-avail)
         Key: INFRA-5139  (was: PIG-2874)
     Project: Infrastructure  (was: Pig)
    
> PigServer fails with macros without a script file
> -------------------------------------------------
>
>                 Key: INFRA-5139
>                 URL: https://issues.apache.org/jira/browse/INFRA-5139
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: 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