[
https://issues.apache.org/jira/browse/PIG-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Graham Lea resolved PIG-2303.
-----------------------------
Resolution: Cannot Reproduce
> FOREACH doesn't allow explicit schema for MAX() result to be chararray
> ----------------------------------------------------------------------
>
> Key: PIG-2303
> URL: https://issues.apache.org/jira/browse/PIG-2303
> Project: Pig
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.8.1
> Reporter: Graham Lea
> Priority: Trivial
> Fix For: 0.9.0
>
>
> Here: http://pig.apache.org/docs/r0.9.0/func.html#max
> It says MIN/Max can be used on chararray, but the result of those functions
> is always a double.
> Had to search through the Pig Javadoc to find that I should use
> StringMin/StringMax instead.
--
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