[
https://issues.apache.org/jira/browse/PIG-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nezih Yigitbasi updated PIG-3664:
---------------------------------
Attachment: PIG-3664.1.patch
Attached a new patch that implements the getArgToFuncMapping method.
> Piggy Bank XPath UDF 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
> Attachments: PIG-3664.1.patch, PIG-3664.patch
>
>
> 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)