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

Piggy Bank XPath UDF can't be called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • None
    • None
    • Patch Available
    • Reviewed

    Description

      When I try to call XPath UDF to process a very simple XML with Pig 0.12 I get the problem:
      2014-01-13 16:14:19,530 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1045:
      <line 3, column 25> Could not infer the matching function for org.apache.pig.piggybank.evaluation.xml.XPath as multiple or none of them fit. Please use an explicit cast. I guess the XPath UDF overrides the getArgToFuncMapping() in an incorrect way. A fixed is attached.

      Attachments

        1. PIG-3664.patch
          0.8 kB
          Nezih Yigitbasi
        2. PIG-3664.1.patch
          2 kB
          Nezih Yigitbasi

        Activity

          People

            nezihyigitbasi Nezih Yigitbasi
            nezihyigitbasi Nezih Yigitbasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: