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/07/07 03:46:34 UTC

[jira] [Updated] (PIG-2795) Fix test cases that generate pig scripts with "load " + pathStr to encode "\" in the path

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

John Gordon updated PIG-2795:
-----------------------------

    Attachment: trunkEncodeEscape.patch

Updates to tests to encode pig escape characters that naturally occur in paths on Windows.  Doesn't affect Linux pass rate -- improves Windows pass rate significantly without Cygwin.
                
> Fix test cases that generate pig scripts with "load " + pathStr to encode "\" in the path
> -----------------------------------------------------------------------------------------
>
>                 Key: PIG-2795
>                 URL: https://issues.apache.org/jira/browse/PIG-2795
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: John Gordon
>         Attachments: trunkEncodeEscape.patch
>
>
> Pig reads "\" as an escape character in pig scripts -- but Windows paths natively contain \.  When we formulate pig queries that should be read through the parser with file paths, we should call encodeEscape first to handle paths generated on Windows.

--
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