[ https://issues.apache.org/jira/browse/PIG-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich reassigned PIG-525: ---------------------------------- Assignee: Olga Natkovich > UDF that requires a cast for its input arguments causes an exception > -------------------------------------------------------------------- > > Key: PIG-525 > URL: https://issues.apache.org/jira/browse/PIG-525 > Project: Pig > Issue Type: Bug > Reporter: Olga Natkovich > Assignee: Olga Natkovich > Attachments: PIG-525.patch > > > Script: > register /homes/olgan/piggybank.jar > A = load 'studenttab10k' as (name, age, gpa); > B = filter A by name is not null; > C = foreach A generate org.apache.pig.piggybank.evaluation.string.UPPER(name); > D = limit C 10; > dump D; > Stack: > (reduce) task_200809241441_20466_r_000000java.io.IOException: Received a > bytearray from the UDF. Cannot determine how to convert the bytearray to > string. > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.processOnePackageOutput(PigMapReduce.java:266) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:224) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:136) > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:318) > at > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2207) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.