You may consider switching the java_compiler from DEFALT to JDK, by :

alter session set `exec.java_compiler` = 'JDK';

All Drill will automatically switch fro janino compiler to JDK, when
the source code length is beyond certain limit.  If your query happens
to have smaller code than that limit, but still hit the limit for
janino compiler, then it's better to set the option to JDK.



On Fri, Dec 4, 2015 at 10:48 AM, Jacques Nadeau <jacq...@dremio.com> wrote:
> I'm guessing this is due to an extremely large number of columns,
> complicated expressions or extremely long column names. We test up to a
> fairly large size here [1] but you may have exceeded what we test. Can you
> share the query?
>
> [1]
> https://github.com/apache/drill/blob/master/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestLargeFileCompilation.java
>
> --
> Jacques Nadeau
> CTO and Co-Founder, Dremio
>
> On Fri, Dec 4, 2015 at 9:33 AM, Abdel Hakim Deneche <adene...@maprtech.com>
> wrote:
>
>> Hi Nirav,
>>
>> can you give us more information to help reproduce this issue ?
>>
>> thanks
>>
>> On Fri, Dec 4, 2015 at 3:42 AM, Nirav Shah <nirav.s...@games24x7.com>
>> wrote:
>>
>> > Hello,
>> >
>> > I am getting below error while running big query.
>> >
>> > =======================================
>> >
>> > Error: SYSTEM ERROR: CompileException: File
>> >
>> 'org.apache.drill.exec.compile.DrillJavaFileObject[ProjectorGen2825.java]',
>> > Line 5799, Column 17: ProjectorGen2825.java:5799: error: code too large
>> >     public void doEval(int inIndex, int outIndex)
>> >                 ^ (compiler.err.limit.code)
>> >
>> >
>> > Regards,
>> > Nirav
>> >
>>
>>
>>
>> --
>>
>> Abdelhakim Deneche
>>
>> Software Engineer
>>
>>   <http://www.mapr.com/>
>>
>>
>> Now Available - Free Hadoop On-Demand Training
>> <
>> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
>> >
>>

Reply via email to