You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org> on 2012/07/17 23:43:34 UTC
[jira] [Resolved] (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:all-tabpanel ]
Gianmarco De Francisci Morales resolved PIG-2797.
-------------------------------------------------
Resolution: Fixed
Fix Version/s: 0.11
+1
Passes tests locally, committed.
Thanks for the contribution, John!
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira