Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2972 Umbrella ticket for test failures in 0.11/trunk
  3. PIG-2998

Fix TestScriptLanguage and TestMacroExpansion

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11, 0.12.0
    • None
    • None

    Description

      This is a regression from PIG-2931.

      I made changes so that $ signs in a replacement string get escaped by PreprocessorContext. But they shouldn't be escaped if they're already escaped.

      In particular, TestScriptLanguage#bindLocalVariableTest2 is failing in trunk because $ signs are escaped by Pig#bind() and then escaped again by PreprocessorContext.

      Attachments

        1. PIG-2998.patch
          0.7 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: