[
https://issues.apache.org/jira/browse/PIG-3301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647868#comment-13647868
]
Daniel Dai commented on PIG-3301:
---------------------------------
Verified. A simplified test case:
{code}
fs -cp a/*.py .
data = load '$inputdir/*/cluster' using PigStorage(',');
store data into 'outputdir/data';
{code}
pig -x local -r -param inputdir=indir 1.pig
If I comment out the first line then Pig runs fine. Not sure about the exact
precondition.
> file globbing causing param substitution to fail
> ------------------------------------------------
>
> Key: PIG-3301
> URL: https://issues.apache.org/jira/browse/PIG-3301
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Environment: Mac OS Lion
> Reporter: Field Cady
> Attachments: pigbug.zip
>
>
> It is possible to cause parameter substitution to fail in pig scripts. The
> following script fails because the parameters don't get substituted:
> fs -cp $scriptpath/*.py .
> data = load '$inputdir/*/cluster' using PigStorage(',');
> store data into '$outputdir/data';
> I'm trying to attach a compressed directory that shows the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira