3.1.6 ,
> are we right?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -- Original --
> > From: "Julian Hyde";;
> > Send time: Saturday, Feb 26, 2022 1:24 AM
> > To: &quo
le
>>> 1.29.0
>>>
>>>
>>> org.codehaus.janino
>>> janino
>>>
>>>
>>> org.codehaus.janino
>>> commons-compiler
>>>
>>>
>>>
>>>
>>>
>>> org.apache.calc
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
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
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
>>
>>
>>
>>
>>
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
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
-
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
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 -
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
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
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
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
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
-
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
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
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
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
calcite-core.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------Original----------
> From: "xiong duan"; S
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.
>
> > > 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
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.
--原始邮件--
发件人:
we use maven and the effective pom contains only the 3.1.0 version of janino as
following:
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
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"
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"
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"
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
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:
29 matches
Mail list logo