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/10/12 07:05:03 UTC

[jira] [Commented] (PIG-2797) Tests should not create their own file URIs through string concatenation, should use Util.generateURI instead

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

John Gordon commented on PIG-2797:
----------------------------------

Thank you!
                
> Tests should not create their own file URIs through string concatenation, should use Util.generateURI instead
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2797
>                 URL: https://issues.apache.org/jira/browse/PIG-2797
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: John Gordon
>             Fix For: 0.11
>
>         Attachments: trunkURIPatch.patch
>
>
> A number of pig tests create URIs via string concatenation when they are trying to load files with something like:
> commandString = "load file:" + fileName + " using "...
> This should just use the Util method generateURI to create the URI correctly in a cross-platform context.

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