[ 
https://issues.apache.org/jira/browse/PIG-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714224#action_12714224
 ] 

Alan Gates commented on PIG-796:
--------------------------------

Can options a and b not be combined?  Could we cache the type the first time, 
and if we see the ClassCastException then attempt to infer the type, caching 
whatever we see for the next time?  This will benefit users who have all or 
most of their values of the same type, since we won't be introspecting every 
time.  It will penalize users who's values switch frequently (as exceptions are 
very slow), but it will still work.  I'm guessing the former is much more 
common than the latter.

> support  conversion from numeric types to chararray
> ---------------------------------------------------
>
>                 Key: PIG-796
>                 URL: https://issues.apache.org/jira/browse/PIG-796
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.2.0
>            Reporter: Olga Natkovich
>


-- 
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