Hi,

We are trying to test a pig script using JUnit and the PigServer. This pig
script uses parameters. It works great running it through the pig command
line, but the registerScript function blows with a ParseException on both
the %declare and %default directives.

org.apache.pig.tools.pigscript.parser.ParseException: Encountered " <PATH>
"%declare "" at line 2, column 1.
Was expecting one of:
    <EOF>
    "cat" ...
    "cd" ...
    "cp" ...
...


Am I doing something wrong?

Thanks,
Christian

Reply via email to