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

          Aniket Mokashi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Aniket Mokashi made changes -
          Assignee Aniket Mokashi [ aniket486 ]
          Julien Le Dem made changes -
          Fix Version/s 0.11 [ 12318878 ]
          Fix Version/s 0.10.1 [ 12320547 ]
          Daniel Dai made changes -
          Fix Version/s 0.11 [ 12318878 ]
          Fix Version/s 0.10.1 [ 12320547 ]
          Dmitriy V. Ryaboy made changes -
          Summary Parameter substitution with spaces does not work Document how parameter values that contain spaces can be passed to Pig
          Dmitriy V. Ryaboy made changes -
          Labels docs simple
          Aniket Mokashi made changes -
          Field Original Value New Value
          Link This issue relates to PIG-2458 [ PIG-2458 ]
          Aniket Mokashi created 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