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

Document how parameter values that contain spaces can be passed to Pig

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I tried to run this on pig-0.9 branch and pig-trunk. This isn't fixed!

      Try--

      java -cp pig.jar org.apache.pig.Main -x local -f temp.pig -p "NAME=Aniket Mokashi"
      

      temp.pig-

      a = load '1.txt';
      b = foreach a generate '$NAME';
      dump b;
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aniket486 Aniket Namadeo Mokashi
                Reporter:
                aniket486 Aniket Namadeo Mokashi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: