pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2273) Pig.compileFromFile in embedded python fails when pig script starts with a comment
Date Tue, 13 Sep 2011 23:56:08 GMT

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

Alan Gates updated PIG-2273:
----------------------------

    Attachment: e2etest.patch

This patch adds an e2e test that tests the same functionality.

> Pig.compileFromFile in embedded python fails when pig script starts with a comment
> ----------------------------------------------------------------------------------
>
>                 Key: PIG-2273
>                 URL: https://issues.apache.org/jira/browse/PIG-2273
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Doug Daniels
>            Assignee: Doug Daniels
>         Attachments: PIG-2273.patch, PIG-2273.tar.gz, e2etest.patch
>
>
> When using embedded Pig inside python, Pig.compileFromFile fails when the referenced
pig file starts with a comment.
> When you start the referenced pig file with a comment, you get no plan back and hence
cannot successfully execute the job.  When you start the same script without a comment, you
get a plan and can execute the script successfully.
> Strangely, this issue does not appear when using Pig.compile to compile directly from
a string.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message