[
https://issues.apache.org/jira/browse/PIG-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi resolved PIG-5027.
-------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 0.17.0
Committed to trunk. Thanks Ian!
> 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
> Fix For: 0.17.0
>
> 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)