[ https://issues.apache.org/jira/browse/DATAFU-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400172#comment-16400172 ]
Eyal Allweil commented on DATAFU-141: ------------------------------------- Hi [~rth.neha], "In" is a reserved word in Pig since Pig 0.12. It does the same thing, more or less, as the DataFu InUDF. I'm guessing this is the cause of your problem. So you either just use the [native IN operator|http://pig.apache.org/docs/r0.17.0/basic.html#boolops] or change the name of your macro shortcut from "In" to something else. > In Function of Pig UDF giving error > ----------------------------------- > > Key: DATAFU-141 > URL: https://issues.apache.org/jira/browse/DATAFU-141 > Project: DataFu > Issue Type: Bug > Environment: Dev > Reporter: Neha Somani > Priority: Minor > > I am trying to use In function > I am running below commands from grunt shell on cloudera 5 env > register /home/neha/datafu-pig-incubating-1.3.3.jar > DEFINE In datafu.pig.util.InUDF(); > > But I am getting error like: > ERROR 1200: <line 43,column 7> mismatch input 'In' expecting IDENTIFIER > > if I use Median function etc. I am getting no error. > > I created own udf by copy pasting InUDF method also using maven dependency > but in that getting similar error. -- This message was sent by Atlassian JIRA (v7.6.3#76005)