[ 
https://issues.apache.org/jira/browse/PIG-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480929#comment-13480929
 ] 

John Gordon commented on PIG-2795:
----------------------------------

If you run pig against any hadoop build other than branch-1-win, no.  If you 
build against branch-1-win core, so that unit tests are on a Windows-compatible 
hadoop core, this should improve the pass rates of all of these tests.  If you 
look at your root causes for failures, you should notice most of the failures 
changing from paths with escape sequences in them to HDFS issues with otherwise 
valid path strings.
                
> 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

Reply via email to