You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2012/10/16 18:13:03 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13477118#comment-13477118 ] 

Alan Gates commented on PIG-2795:
---------------------------------

John,

After applying this patch to we expect the tests in this patch to pass on Windows?  I see the same fail rate for the tests before and after applying it.
                
> 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
>    Affects Versions: 0.10.0
>            Reporter: John Gordon
>            Assignee: John Gordon
>             Fix For: 0.11
>
>         Attachments: 0006-Test-Changes-For-Path-Separator-on-Windows.patch, 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
For more information on JIRA, see: http://www.atlassian.com/software/jira