pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Gentile (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2279) Error when using PigUnit on a script that uses IMPORT another script with macros
Date Mon, 04 Jun 2012 17:13:24 GMT

    [ https://issues.apache.org/jira/browse/PIG-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288694#comment-13288694

Juan Gentile commented on PIG-2279:

Thanks for the hack Johannes, I'd like to see Mark's solution though, Mark, could you attach

Thank you,
> Error when using PigUnit on a script that uses IMPORT another script with macros
> --------------------------------------------------------------------------------
>                 Key: PIG-2279
>                 URL: https://issues.apache.org/jira/browse/PIG-2279
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Mark Roddy
>         Attachments: duplication-pigunit-parser-exception-HACK.patch, test-macro.zip
> Executing PigUnit against a script which uses the import command always fails with error:
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing.
<line 4> : Duplicated import file 'somemacro.pig'
> Even though the script being tested does not preform an import of the same script twice.
> I've tried with a couple of different scripts/tests and it appears that PigUnit fails
on any test of a pig script where an import command is issued.

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


View raw message