Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2162

bin/pig should not modify user args

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.10.0
    • None
    • None
    • bin/pig handles args with spaces correctly.

    Description

      PIG launcher script (bin/pig) joins all the user arguments in one string. This leads to confusion when the arguments contain spaces.
      i.e. 'bin/pig -p sub="i > 2"' is should not same as 'bin/pig -p "sub" "i" ">" "2"', but it is.

      Attachments

        1. PIG-2162.patch
          0.9 kB
          Raghu Angadi

        Issue Links

          Activity

            rangadi Raghu Angadi created issue -
            rangadi Raghu Angadi made changes -
            Field Original Value New Value
            Attachment PIG-2162.patch [ 12486382 ]
            rangadi Raghu Angadi made changes -
            Fix Version/s 0.10 [ 12316246 ]
            Release Note bin/pig handles args with spaces correctly.
            Affects Version/s 0.8.0 [ 12314562 ]
            Status Open [ 1 ] Patch Available [ 10002 ]
            thejas Thejas Nair made changes -
            Resolution Fixed [ 1 ]
            Status Patch Available [ 10002 ] Resolved [ 5 ]
            rangadi Raghu Angadi made changes -
            Link This issue relates to PIG-2180 [ PIG-2180 ]
            jcoveney Jonathan Coveney made changes -
            Link This issue is related to PIG-2458 [ PIG-2458 ]
            daijy Daniel Dai made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              rangadi Raghu Angadi
              rangadi Raghu Angadi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: