You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Nezih Yigitbasi (JIRA)" <ji...@apache.org> on 2014/01/14 02:09:50 UTC

[jira] [Created] (PIG-3664) Piggy Bank XPath can't be called

Nezih Yigitbasi created PIG-3664:
------------------------------------

             Summary: Piggy Bank XPath can't be called
                 Key: PIG-3664
                 URL: https://issues.apache.org/jira/browse/PIG-3664
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.12.0
            Reporter: Nezih Yigitbasi
            Assignee: Nezih Yigitbasi
            Priority: Blocker


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.





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)