[
https://issues.apache.org/jira/browse/PIG-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480951#comment-13480951
]
John Gordon commented on PIG-2795:
----------------------------------
Are you running under cygwin or without cygwin? With Cygwin, you might get
cygpaths, which don't have \. Given that pig uses \ as an escape character, a
standard Windows path -- e.g. "C:\newdir\text.txt" would look like this
C:<newline>ewdir<tab>ext.txt -- where newline and tab are visual placeholders
for whitespace characters.
> 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