Re: calcite multi-threading problem

2022-02-26 Thread Stamatis Zampetakis
3.1.6 , > are we right? > > > > > > > > > > > > > > > > > > > > > > -- Original -- > > From: "Julian Hyde";; > > Send time: Saturday, Feb 26, 2022 1:24 AM > > To: &quo

Re: calcite multi-threading problem

2022-02-26 Thread Julian Hyde
le >>> 1.29.0 >>> >>> >>> org.codehaus.janino >>> janino >>> >>> >>> org.codehaus.janino >>> commons-compiler >>> >>> >>> >>> >>> >>> org.apache.calc

Re: calcite multi-threading problem

2022-02-25 Thread xiaobo
was removed intentionally? but it seems calcite still needs it . What we mean here is that we think calcite has a bug with janino 3.1.6 , are we right? -- Original -- From: "Julian Hyde";; Send time: Saturday, Feb 26, 2022 1:24 A

Re: calcite multi-threading problem

2022-02-25 Thread Julian Hyde
haus.janino >> janino >> 3.1.6 >> >> >> >> org.codehaus.janino >> commons-compiler >> 3.1.6 >> >> >> >> >> On Fri, Feb 25, 2022 at 9:33 AM xiaobo >> wrote: >> >>> I have put the testing code at gith

Re: calcite multi-threading problem

2022-02-25 Thread Gavin Ray
n Fri, Feb 25, 2022 at 9:33 AM xiaobo > wrote: > >> I have put the testing code at github >> >> >> https://github.com/guxiaobo/gxb-testing/blob/main/calcite-testing/src/test/java/com/xsmartware/testing/calcite/Test1.java >> >> >> >> >>

Re: calcite multi-threading problem

2022-02-25 Thread Gavin Ray
anino-3.1.4.jar:na] > at org.codehaus.janino.Java$AmbiguousName.accept(Java.java:4574) > ~[janino-3.1.4.jar:na] > at > org.codehaus.janino.UnitCompiler.compileSet(UnitCompiler.java:6475) > ~[janino-3.1.4.jar:na] > at > org.codehaus.janino.UnitCompiler.comp

Re: calcite multi-threading problem

2022-02-25 Thread xiaobo
uot;; Subject: Re: calcite multi-threading problem Hi, Now we come to the problem similar as the one at https://github.com/apache/calcite/pull/2433#issuecomment-860024076, a simple sql "select max(id) from s.t1" caused the following exception, users report upgrading janino

Re: calcite multi-threading problem

2022-02-25 Thread xiaobo
- From: "xiaobo ";; Send time: Saturday, Feb 12, 2022 9:14 PM To: "dev"; Subject: Re: calcite multi-threading problem 3.1.4 of janino and commons-compiler works now. -- Original ------ From: "xiaobo ";; Send time: S

Re: calcite multi-threading problem

2022-02-17 Thread Stamatis Zampetakis
se the same connection instance from multiple > threads. > > Best, > Stamatis > > On Sat, Feb 12, 2022 at 2:14 PM xiaobo > wrote: > > > 3.1.4 of janino and commons-compiler works now. > > > > > > > > > > -- Original -

Re: calcite multi-threading problem

2022-02-15 Thread xiaobo
ot;;; Send time: Monday, Feb 14, 2022 5:49 PM To: "dev"; Subject: Re: calcite multi-threading problem Hi, I haven't gone through all the exchanges but wanted to mention that in general the JDBC connection APIs are not thread-safe. You previously mentioned the following: "we

Re: calcite multi-threading problem

2022-02-14 Thread Stamatis Zampetakis
ler works now. > > > > > -- Original -- > From: "xiaobo ";; > Send time: Saturday, Feb 12, 2022 8:04 PM > To: "dev"; > > Subject: Re: calcite multi-threading problem > > > > but strange enough, th

Re: calcite multi-threading problem

2022-02-12 Thread xiaobo
3.1.4 of janino and commons-compiler works now. -- Original -- From: "xiaobo ";; Send time: Saturday, Feb 12, 2022 8:04 PM To: "dev"; Subject: Re: calcite multi-threading problem but strange enough, the same code work

Re: calcite multi-threading problem

2022-02-12 Thread xiaobo
but strange enough, the same code works in a single thread. -- Original -- From: "xiaobo ";; Send time: Saturday, Feb 12, 2022 8:02 PM To: "dev"; Subject: Re: calcite multi-threading problem we checked the janino release not

Re: calcite multi-threading problem

2022-02-12 Thread xiaobo
y method with a classloader parameter was removed intentionally? but it seems calcite still needs it , so what version of janino should we use for the latest calcite-core? -- Original -- From: "xiaobo ";; Send time: Saturday, Feb 12, 2022 12:01 PM T

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
- From: "xiaobo ";; Send time: Saturday, Feb 12, 2022 11:56 AM To: "dev"; Subject: Re: calcite multi-threading problem And if we remove calcite from our project, janino is not in "resolved depencies" library list of pom.xml, So we think it not the janin

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
quot;dev"; Subject: Re: calcite multi-threading problem can you share the solution for the problem, we are using the following libraries, and it seems janino 3.1.6 is only dependent by calcite-core. UTF-8 UTF-8 9 9 9

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
3.1.6 > > > > > > > yes, we use drools in the same project, and drools uses janino > > > too, is there a version list of janino which calcite supports? > > > > > > > > > > > > > > > ---Original--- > > > From: "D

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
sorry about that, I'll correct it. -- Original -- From: "Julian Hyde";; Send time: Saturday, Feb 12, 2022 9:41 AM To: "dev"; Subject: Re: calcite multi-threading problem xiaobo, Your emails are coming through with a lot of HTML

Re: calcite multi-threading problem

2022-02-11 Thread Julian Hyde
calcite-core. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------Original---------- > From: "xiong duan"; S

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
can you share the solution for the problem, we are using the following libraries, and it seems janino 3.1.6 is only dependent by calcite-core.

Re: calcite multi-threading problem

2022-02-11 Thread xiong duan
> > > > yes, we use drools in the same project, and drools uses janino > > > too, is there a version list of janino which calcite supports? > > > > > > > > > > > > > > > ---Original--- > > > From: "Dmitry Sysolyatin&quo

回复:reply: calcite multi-threading problem

2022-02-11 Thread xiaobo
I mean it seems not a janino related problem, if we put the connection opening and sql executing operationes in the same thread the same error does not appear, but with a sql related problem with I sent in another mail. --原始邮件-- 发件人:

reply: calcite multi-threading problem

2022-02-11 Thread xiaobo
we use maven and the effective pom contains only the 3.1.0 version of janino as following:

Re: calcite multi-threading problem

2022-02-11 Thread Dmitry Sysolyatin
gt; > From: "Dmitry Sysolyatin" > Date: Fri, Feb 11, 2022 18:30 PM > > To: "dev" > Subject: Re: calcite multi-threading problem > > > > > > Hi! > > > Itlookslikeadependencyissue,notlikeamulti-threadingissue.Most > > > likelyyouhav

Re: calcite multi-threading problem

2022-02-11 Thread stanilovsky evgeny
for example on a current calcite branch: grep janino gradle.properties janino.version=3.1.6 yes, we use drools in the same project, and drools uses janino too, is there a version list of janino which calcite supports? ---Original--- From: "Dmitry Sysolyatin"

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
yes, we use drools in the same project, and drools uses janino too, is there a version list of janino which calcite supports? ---Original--- From: "Dmitry Sysolyatin"

Re: calcite multi-threading problem

2022-02-11 Thread xiaobo
yes, we use drools in the same project, and drools uses janino too, is there a version list of janino which janino supports? ---Original--- From: "Dmitry Sysolyatin"

Re: calcite multi-threading problem

2022-02-11 Thread Dmitry Sysolyatin
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 wrote: > Hi, > > > we open a calcite connection with ReflectiveSchema in one

calcite multi-threading problem

2022-02-11 Thread xiaobo
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: