Re: Calcite jdbc driver dependencies

2016-11-21 Thread Josh Elser
On 21 November 2016 at 09:33, Gethin James wrote: Have you had a look at https://issues.apache.org/jira/browse/CALCITE-1461 ? The fix version is 1.11.0. Best regards, Gethin. From: Christian Tzolov Sent: 21 November 2016 09:23:51 To: dev@calcite.apache.org Subject: R

Re: Calcite jdbc driver dependencies

2016-11-21 Thread Christian Tzolov
jira/browse/CALCITE-1461 > ? The fix version is 1.11.0. > > Best regards, > Gethin. > > From: Christian Tzolov > Sent: 21 November 2016 09:23:51 > To: dev@calcite.apache.org > Subject: Re: Calcite jdbc driver dependencies > > Furt

Re: Calcite jdbc driver dependencies

2016-11-21 Thread Gethin James
Have you had a look at https://issues.apache.org/jira/browse/CALCITE-1461 ? The fix version is 1.11.0. Best regards, Gethin. From: Christian Tzolov Sent: 21 November 2016 09:23:51 To: dev@calcite.apache.org Subject: Re: Calcite jdbc driver dependencies Further

Re: Calcite jdbc driver dependencies

2016-11-21 Thread Christian Tzolov
Further digging suggests that the root cause of the problem is Janino not being able to resolve its 'org.codehaus.commons.compiler.properties' from the class path. The input stream is resolved to null in the CompilerFactoryFactory#getDefaultCompilerFactory: 'InputStream is = Thread.currentThread(

Re: Calcite jdbc driver dependencies

2016-11-20 Thread Christian Tzolov
The underlying exception causing the "Unable to instantiate java compiler" seems to be: *Caused by: java.lang.ClassNotFoundException: No implementation of org.codehaus.commons.compiler is on the class path. Typically, you'd have 'janino.jar', or 'commons-compiler-jdk.jar', or both on the classpath

Re: Calcite jdbc driver dependencies

2016-11-20 Thread Christian Tzolov
The uberized jdbc adapter fails with "Unable to instantiate java compiler" when i try it with tools like DbVisualizer or SQurriel . Noticed same error has been discussed in two others thread but there is no resolution. In my case the adapter pom contains a single janino-2.7.6 dependency (via the c

Re: Calcite jdbc driver dependencies

2016-11-20 Thread Christian Tzolov
FYI, the uber jar jdbc did the job On 20 November 2016 at 22:34, Christian Tzolov wrote: > Hi, > > I've been working on Calcite adapter for a nosql datastore. > > The prototype works fine when i test it with the Sqlline command line > tool. But it is not entirely clear how to use it through a jd

Calcite jdbc driver dependencies

2016-11-20 Thread Christian Tzolov
Hi, I've been working on Calcite adapter for a nosql datastore. The prototype works fine when i test it with the Sqlline command line tool. But it is not entirely clear how to use it through a jdbc driver from 3rd party tools. I've read the avatica docs but not sure if i'm getting it right. For