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

Ian Cook updated PIG-5027:
--------------------------
    Description: In the SAMPLE example in which the size is passed as a scalar 
expression, the numerator needs to be cast to floating point or integer 
division will result. Patch attached. Patch also capitalizes keywords, changes 
COUNT to COUNT_STAR, and changes a relation name.  (was: The SAMPLE example in 
which the size is passed as a scalar expression needs the scalar to be cast to 
floating point or integer division will result. Patch attached. Patch also 
capitalizes keywords, changes COUNT to COUNT_STAR, and changes a relation name.)

> Improve SAMPLE Scalar Expression Example
> ----------------------------------------
>
>                 Key: PIG-5027
>                 URL: https://issues.apache.org/jira/browse/PIG-5027
>             Project: Pig
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Minor
>         Attachments: PIG-5027-1.patch
>
>
> In the SAMPLE example in which the size is passed as a scalar expression, the 
> numerator needs to be cast to floating point or integer division will result. 
> Patch attached. Patch also capitalizes keywords, changes COUNT to COUNT_STAR, 
> and changes a relation name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to