[
https://issues.apache.org/jira/browse/PIG-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785940#comment-13785940
]
Cheolsoo Park commented on PIG-3483:
------------------------------------
+1. Thank you for taking care of this!
Just found a typo in your example. The relation A doesn't have a0 field. Do you
mind fixing it when committing the patch?
{code}
Suppose we have relation A.
A = LOAD 'data' AS (a1:int,a2:int,a3:int);
...
Now, you can assert that a0 column in your data is >0, fail if otherwise
ASSERT A by a0 > 0 'a0 should be greater than 0';
{code}
> Document ASSERT keyword
> -----------------------
>
> Key: PIG-3483
> URL: https://issues.apache.org/jira/browse/PIG-3483
> Project: Pig
> Issue Type: Task
> Components: documentation
> Affects Versions: 0.12.0
> Reporter: Cheolsoo Park
> Assignee: Aniket Mokashi
> Fix For: 0.12.0
>
> Attachments: PIG-3483.patch
>
>
> PIG-3367 added a new keyword ASSERT, so we need to document it.
--
This message was sent by Atlassian JIRA
(v6.1#6144)