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

PigServer fails to parse parameters with dashes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.9.1
    • None
    • None
    • None

    Description

      I am using pig through the pig server. I need to pass some parameters to the pig script which I am passing by calling the pigServer.registerScript(pigScript, params);

      If my parameters have dashes in them, pig fails with the following (Parameter used here is run-date=20110531 where "run-date" is the key and 20110531 is the value):

      11/10/18 19:44:57 ERROR pig.PigServer: Encountered " <OTHER> "-date=20110531 "" at line 1, column 6.
      Was expecting:
      "=" ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            arov Alex Rovner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: