Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2793 Make Pig Work on Windows without Cygwin
  3. PIG-2797

Tests should not create their own file URIs through string concatenation, should use Util.generateURI instead

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11, 0.10.1
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. trunkURIPatch.patch
          19 kB
          John Gordon

        Activity

          People

            jgordon John Gordon
            jgordon John Gordon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: