[
https://issues.apache.org/jira/browse/PIG-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Gates resolved PIG-423.
----------------------------
Resolution: Cannot Reproduce
When I run this query now it does not produce the warnings. If I actually run
the script instead of just describe it, it runs to completion and appears to
produce correct results. Since it appears the error is somewhat old, I'm
assuming some other fix fixed this as well.
> 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.