Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Pig 0.12 in HDP 2.0 and ASSERT

$
0
0

Replies: 1

Hi,

I’m trying to use the ASSERT statement (e.g. assert a by a1 > 0 'a cant be negative for reasons';) which is supposed to be supported in Pig 0.12 that ships with HDP 2.0 but I get an error saying:

[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:

What went wrong?


Viewing all articles
Browse latest Browse all 5121

Trending Articles