Conversion from double to chararray for udf input arguments does not occur

                 Key: PIG-904
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.3.1
            Reporter: Pradeep Kamath

Script showing the problem:
 "a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, 
gpa:double); b = foreach a generate CONCAT(gpa, 'dummy'); dump b;"

Error shown:
2009-08-03 17:04:27,573 [main] ERROR - ERROR 
1045: Could not infer the matching function for org.apache.pig.builtin.CONCAT 
as multiple or none of them fit. Please use an explicit cast.


The error goes away if gpa is casted to chararray.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to