You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2016/09/12 17:54:21 UTC
[jira] [Commented] (PIG-5027) Improve SAMPLE Scalar Expression
Example
[ https://issues.apache.org/jira/browse/PIG-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15484784#comment-15484784 ]
Koji Noguchi commented on PIG-5027:
-----------------------------------
+1.
Committing shortly.
> 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)