Hi! It looks like a dependency issue, not like a multi-threading issue. Most likely you have some dependency that use another version of janino but calcite requires another one
On Fri, Feb 11, 2022 at 12:18 PM xiaobo <guxiaobo1...@qq.com.invalid> wrote: > Hi, > > > we open a calcite connection with ReflectiveSchema in one thread, and > execute sqls in other threads against the connection, but failed with > this error > > > > > com.google.common.util.concurrent.ExecutionError: > java.lang.NoSuchMethodError: > > org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory(Ljava/lang/ClassLoader;) > > Lorg/codehaus/commons/compiler/ICompilerFactory; > > > do we miss anything regarding to multi-threading with calcite?