You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "John Gordon (JIRA)" <ji...@apache.org> on 2012/11/03 21:47:12 UTC
[jira] [Updated] (PIG-3025) TestPruneColumn unit test -
SimpleEchoStreamingCommand perl inline script needs simplification
[ https://issues.apache.org/jira/browse/PIG-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Gordon updated PIG-3025:
-----------------------------
Attachment: PIG-3025.branch-0.10.1.patch
Restate the query without quotes, could also be "print qq[$_]" or another character if preferred. stripped quotes seems to work just fine for cases in this test.
> TestPruneColumn unit test - SimpleEchoStreamingCommand perl inline script needs simplification
> ----------------------------------------------------------------------------------------------
>
> Key: PIG-3025
> URL: https://issues.apache.org/jira/browse/PIG-3025
> Project: Pig
> Issue Type: Bug
> Components: build
> Affects Versions: 0.10.0
> Reporter: John Gordon
> Assignee: John Gordon
> Attachments: PIG-3025.branch-0.10.1.patch
>
>
> The "SimpleEchoStreamingCommand" string, which is an inline perl script, is unnecessarily complicated by escaping nested quote characters on the command-line. As a result, it ends up unstable across shell implementations and operating systems.
> Considering that perl has qq and can print unquoted values, this seems like it is not needed.
--
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