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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: