[ 
https://issues.apache.org/jira/browse/PIG-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Graham Lea updated PIG-2303:
----------------------------

          Component/s:     (was: documentation)
                       parser
    Affects Version/s: 0.9.0
               Labels:   (was: documentation)
              Summary: FOREACH doesn't allow explicit schema for MAX() result 
to be chararray  (was: Documentation says the MAX function can be used on 
chararray, but it can't)
    
> 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.9.0
>            Reporter: Graham Lea
>            Priority: Trivial
>
> 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

        

Reply via email to