[
https://issues.apache.org/jira/browse/PIG-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153049#comment-13153049
]
Prashant Kommireddi commented on PIG-2315:
------------------------------------------
Return type of UDF "LFV" is bytearray. The issue here is that when I pass the
field "ts" to a MIN function, or "runTime" to a SUM (after a group by) the
scripts errors out with a ClassCastException (Cannot convert bytearray to
String/Double)
> Make as clause work in generate
> -------------------------------
>
> Key: PIG-2315
> URL: https://issues.apache.org/jira/browse/PIG-2315
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Gianmarco De Francisci Morales
>
> Currently, the following syntax is supported and ignored causing confusing
> with users:
> A1 = foreach A1 generate a as a:chararray ;
> After this statement a just retains its previous type
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira