Hi Ron,

You're right that assert is broken in 0.12.0. Here is the jira-
https://issues.apache.org/jira/browse/PIG-3670

The fix will be included in 0.12.1 and onwards. In the meantime, can you
apply the patch and rebuild Pig?

Thanks,
Cheolsoo


On Mon, Feb 24, 2014 at 4:11 AM, Ronald Green <green.ron...@gmail.com>wrote:

> Hi,
>
> It seems like ASSERT doesn't really work in Pig 0.12. I get the following
> message when I try to use ASSERT:
>
> [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during
> parsing. Encountered " <IDENTIFIER> "assert "" at line 1, column 1.
> Was expecting one of: ...
>
> I also tried without the ASSERT keyword (simply A by a1>0 'message') but it
> doesn't work as well.
>
> The versions I tested were  0.12.0 (r1529718)   and Pig 0.12.0.2.0.6.1-101.
>
> Any idea?
>
> Thanks,
> Ron
>

Reply via email to