[
https://issues.apache.org/jira/browse/PIG-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114912#comment-13114912
]
Daniel Dai commented on PIG-2303:
---------------------------------
It's not about MAX/MIN. "+" does not concat strings. You need to use CONCAT UDF.
> Documentation says the MAX function can be used on chararray, but it can't
> --------------------------------------------------------------------------
>
> Key: PIG-2303
> URL: https://issues.apache.org/jira/browse/PIG-2303
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Reporter: Graham Lea
> Priority: Trivial
> Labels: documentation
>
> 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