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

PigServer fails with macros without a script file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.11
    • None
    • None
    • 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.1.patch
          2 kB
          William W. Graham Jr
        2. PIG-2866.2.patch
          4 kB
          William W. Graham Jr
        3. PIG-2866.3.patch
          9 kB
          William W. Graham Jr
        4. PIG-2866.4.patch
          9 kB
          William W. Graham Jr

        Activity

          People

            billgraham William W. Graham Jr
            billgraham William W. Graham Jr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: