drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <dbarc...@maprtech.com>
Subject Re: FunctionConverter warnings
Date Wed, 29 Apr 2015 23:33:27 GMT
I wrote:

 > What _seems_ to be line 52 in the dumped Java doesn't seem to [be]
 > something that would cause an error like that.)

... except if the compiler doesn't understand generics:  line 52 is
"Iterable<String> subPartitions;"

Daniel





Daniel Barclay wrote:
> Is it normal to get warnings like the following?:
>
>
> 16:00:18.672 [main] WARN  org.apache.drill.exec.expr.fn.FunctionConverter - Failure while
parsing function class:
>
> ...
>
>
>
> }
>
> org.codehaus.commons.compiler.CompileException: Line 52, Column 22: Java$BinaryOperation
is not allowed as an expression statement. Expressions statements must be one of assignments,
method invocations, or object allocations.
>      at org.codehaus.janino.Java$Located.throwCompileException(Java.java:98) ~[janino-2.6.1.jar:2.6.1]
>
>
> (What _seems_ to be line 52 in the dumped Java doesn't seem to something that
> would cause an error like that.)
>
>
> Daniel


-- 
Daniel Barclay
MapR Technologies

Mime
View raw message