type information is lost in nested expressions
----------------------------------------------

                 Key: PIG-423
                 URL: https://issues.apache.org/jira/browse/PIG-423
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Olga Natkovich
            Assignee: Alan Gates
             Fix For: types_branch


Query:

grunt> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name: 
chararray, age, gpa);
grunt> C = foreach A generate (name is null ? '' : (name matches 'foo' ? 'FOO' 
: name));
grunt> describe C;

08/09/08 16:36:30 WARN pig.PigServer: bytearray is implicitly casted to 
chararray under LORegexp Operator
08/09/08 16:36:30 WARN pig.PigServer: bytearray is implicitly casted to 
chararray under LOBinCond Operator
C: {chararray}

The warnings look wrong since name is explicitely declared as 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