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

PigServer fails with macros without a script file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Making a call to PigServer.registerQuery with an InputStream will fail if the script contains a macro. This is because QueryParserDriver.makeMacroDef requires a filename. QueryParserDriver.makeMacroDef should be changed to not assume that the script input is from a file.

        Attachments

        1. PIG-2866.4.patch
          9 kB
          Bill Graham
        2. PIG-2866.3.patch
          9 kB
          Bill Graham
        3. PIG-2866.2.patch
          4 kB
          Bill Graham
        4. PIG-2866.1.patch
          2 kB
          Bill Graham

          Activity

            People

            • Assignee:
              billgraham Bill Graham
              Reporter:
              billgraham Bill Graham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: