Pig
  1. Pig
  2. PIG-2674

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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;
      

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development