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

TestPruneColumn unit test - SimpleEchoStreamingCommand perl inline script needs simplification

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.12.0
    • 0.12.0
    • build
    • None
    • Reviewed

    Description

      The "SimpleEchoStreamingCommand" string, which is an inline perl script, is unnecessarily complicated by escaping nested quote characters on the command-line. As a result, it ends up unstable across shell implementations and operating systems.

      Considering that perl has qq and can print unquoted values, this seems like it is not needed.

      Attachments

        1. PIG-3025.branch-0.10.1.patch
          2 kB
          John Gordon
        2. PIG-3025.branch-0.10.1-2.patch
          2 kB
          Cheolsoo Park
        3. PIG-3025.trunk.patch
          2 kB
          David Wannemacher

        Activity

          People

            dwann David Wannemacher
            jgordon John Gordon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: