That being said, technically even with the bug, this will compile.
That won't even compile in Java, unless input is of type Boolean. But if
it is of type boolean input.size() won't compile!
(But yeah, I have spent hours debugging a bug introduced by such a typo
in C++ code)
-Thejas
On
Nice catch of the bug, Jon.. hopefully this was a typo on Srini's part, not
actually in the code. Srini, did javac give you a filename and line number
to go with that error message?
That being said, technically even with the bug, this will compile. That's
not the issue Srini is encountering.
The i
It should be: input == null || input.size() == 0
In java, = means variable assignment, whereas == is equality.
2011/8/19 SRINIVAS SURASANI
> Hi,
>
> Iam able to compile pig udf for pig-0.8.0 version . Its giving me an error
> when I have tried compiling on pig-0.8.1 version.
>
> following is th
Hi,
Iam able to compile pig udf for pig-0.8.0 version . Its giving me an error
when I have tried compiling on pig-0.8.1 version.
following is the error message:
cannot access org.apache.hadoop.io.WritableComparable
class file for org.apache.hadoop.io.WritableComparable not found