I got such error for a 1000-element list in where clause.
E.g. where id in (1,2,3,…1000)
CompileException: File ‘com.dremio.exec.compile.DremioJavaFileObject[FiltererGen16448.java]’, Line -21997, Column 20: FiltererGen16448.java:43539: error: code too large
I searched community topics and saw one similar issue for project gen in 2.0 version.
This occurred when I commit a Dremio SQL query via REST API. Sorry, I cannot provide the job profile.
The length of query string is 14000+ and the where clause has a 1000 id list.
Error
SYSTEM ERROR: CompileException: File ‘com.dremio.exec.compile.DremioJavaFileObject[FiltererGen16448.java]’, Line -21997, Column 20: FiltererGen16448.java:43539: error: code too large
public boolean doEval(int inIndex, int outIndex)
^ (compiler.err.limit.code)