Re: [DISCUSS] Draft board report for Oct 2021

2021-10-06 Thread Haisheng Yuan
Thanks Stamatis and Francis for the addition, I will update the report accordingly. Cheers, Haisheng Yuan On 2021/10/06 21:04:22, Stamatis Zampetakis wrote: > LGTM and +1 for the longer description as Francis mentioned. > > This is the report for Q3 (July-September) so I think Avatica 1.19

Re: [ANNOUNCE] New committer: Zhaohui Xu

2021-10-06 Thread Haisheng Yuan
Congratulations, Zhaohui, well deserved! Haisheng On 2021/10/06 21:14:00, Francis Chuang wrote: > Congratulations! > > On 7/10/2021 7:47 am, Stamatis Zampetakis wrote: > > Apache Calcite's Project Management Committee (PMC) has invited Zhaohui Xu > > to > > become a committer, and we are

Re: [DISCUSS] Next releases

2021-10-06 Thread Jacques Nadeau
FYI, the last patch for immutables is up and passing all checks. I'll do another pass in the morning to make sure everything looks good and then will merge if I don't hear any concerns. https://github.com/apache/calcite/pull/2568 On Wed, Oct 6, 2021, 1:04 PM Jacques Nadeau wrote: >

[jira] [Created] (CALCITE-4836) Upgrade protobuf-java 3.6.1 -> 3.17.1

2021-10-06 Thread duan xiong (Jira)
duan xiong created CALCITE-4836: --- Summary: Upgrade protobuf-java 3.6.1 -> 3.17.1 Key: CALCITE-4836 URL: https://issues.apache.org/jira/browse/CALCITE-4836 Project: Calcite Issue Type: Bug

Re: [ANNOUNCE] New committer: Zhaohui Xu

2021-10-06 Thread Francis Chuang
Congratulations! On 7/10/2021 7:47 am, Stamatis Zampetakis wrote: Apache Calcite's Project Management Committee (PMC) has invited Zhaohui Xu to become a committer, and we are pleased to announce that they have accepted. Numbers speak for themselves and Zhaohui has over 30 commits already in

Re: [DISCUSS] Draft board report for Oct 2021

2021-10-06 Thread Stamatis Zampetakis
LGTM and +1 for the longer description as Francis mentioned. This is the report for Q3 (July-September) so I think Avatica 1.19 should anyways go to the next one. ## Project Activity +At BOSS 2021, Copenhagen, Denmark, August 16, 2021, Julian Hyde & Stamatis Zampetakis gave a tutorial about

[ANNOUNCE] New committer: Zhaohui Xu

2021-10-06 Thread Stamatis Zampetakis
Apache Calcite's Project Management Committee (PMC) has invited Zhaohui Xu to become a committer, and we are pleased to announce that they have accepted. Numbers speak for themselves and Zhaohui has over 30 commits already in master and more than 20 open pull requests waiting to get in. Great

Re: [DISCUSS] Next releases

2021-10-06 Thread Jacques Nadeau
Definitely. I'm also trying to add helpful comments in a couple of key javadoc locations. On Wed, Oct 6, 2021 at 1:02 PM Julian Hyde wrote: > Thanks for following through on this large change, Jacques. Be sure to > document the changes people will need to make if they have defined their > own

Re: [DISCUSS] Next releases

2021-10-06 Thread Julian Hyde
Thanks for following through on this large change, Jacques. Be sure to document the changes people will need to make if they have defined their own rules. > On Oct 6, 2021, at 12:59 PM, Jacques Nadeau wrote: > > I'm hoping (fingers crossed) to have the final Immutables patch up today > and

Re: [DISCUSS] Next releases

2021-10-06 Thread Jacques Nadeau
I'm hoping (fingers crossed) to have the final Immutables patch up today and if all goes well, get that merged before the release. On Wed, Oct 6, 2021 at 11:34 AM Julian Hyde wrote: > So, the vote for Avatica 1.19 is underway, and we will likely have a > release in 4 or 5 days. > > Next up,

Re: Can`t build master of calcite.

2021-10-06 Thread Julian Hyde
Vladimir, I think that's too harsh. In practice people aren't on the latest JDK version. (CI environments usually are, and therefore we'll tend to miss these issues.) We should make the process as painless as possible for everyone. Julian On 2021/10/06 10:54:17, Vladimir Sitnikov wrote: >

Re: Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
[justin@localhost calcite]$ cat ../calcite.old/test.json { version: '1.0', defaultSchema: 'ssb', schemas: [ { name: 'ssb', type: 'custom', factory: 'org.apache.calcite.adapter.jdbc.JdbcSchema$Factory', operand: { jdbcUrl: 'jdbc:mysql://localhost/ssb',

Re: Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: java.sql.SQLException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://localhost/ssb' On Wed, Oct 6, 2021 at 3:14 PM Julian Hyde wrote: > What happens if you remove the line

Re: Problem using MySQL with JDBC

2021-10-06 Thread Julian Hyde
What happens if you remove the line jdbcDriver: 'com.mysql.cj.jdbc.Driver’, from your Calcite model? Hopefully, it just works. Most drivers load automatically these days, and if you don’t specify the class name, Calcite won’t try to load it manually. > On Oct 6, 2021, at 12:07 PM,

Re: Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
Hi, So the example from MySQL is: [justin@localhost calcite.old]$ cat LoadDriver.java import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; // Notice, do not import com.mysql.jdbc.* // or you will have problems! public class LoadDriver { public static void

Re: Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
Hi, The class.forName doesn't work for me though (tried org.mysql.cj.jdbc.Driver and org.mysql.jdbc.Driver), but just using a "jdbc:mysql://" connection string does work. It makes sense that class.forName throws the same exception for me as Calcite, but I don't understand why just using a

Re: Problem using MySQL with JDBC

2021-10-06 Thread Julian Hyde
Does your environment use shading? Maybe Class.forName with a constant argument is handled by the shading, but Calcite is calling Class.forName with a dynamic argument. > On Oct 6, 2021, at 11:41 AM, Justin Swanhart wrote: > > Hi, > > The jar is in the classpath, and I can run the java

Re: Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
Hi, The jar is in the classpath, and I can run the java command that the sqlline script runs directly, and I get the same error. The following works in a test java program with the CLASSPATH set: conn = DriverManager.getConnection("jdbc:mysql://localhost/ssb?" +

Re: [DISCUSS] Next releases

2021-10-06 Thread Julian Hyde
So, the vote for Avatica 1.19 is underway, and we will likely have a release in 4 or 5 days. Next up, Calcite release 1.28. I'll be release manager for that too, and I'd like to start the vote in a week. I have three asks: 1. Start stabilizing the build. If you have a change that might cause

[jira] [Created] (CALCITE-4835) Release Calcite 1.28.0

2021-10-06 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-4835: Summary: Release Calcite 1.28.0 Key: CALCITE-4835 URL: https://issues.apache.org/jira/browse/CALCITE-4835 Project: Calcite Issue Type: Bug

Re: Problem using MySQL with JDBC

2021-10-06 Thread Julian Hyde
It looks as if com.mysql.cj.jdbc.Driver is not on your class path. If you are launching via SQLLine, you will need to edit the sqlline shell script to add a jar (or jars) to your class path. Julian > On Oct 6, 2021, at 10:43 AM, Justin Swanhart wrote: > > I am probably making some obvious

Problem using MySQL with JDBC

2021-10-06 Thread Justin Swanhart
I am probably making some obvious mistake, but I am having a problem getting a simple MySQL JDBC connection working. I have the latest version of the Connector/J MySQL java client driver. I have a MySQL 8 server running on the local machine, and the following model JSON: { version: '1.0',

[jira] [Created] (CALCITE-4834) JaninoRelMetadataProvider uses hardcoded class name

2021-10-06 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4834: -- Summary: JaninoRelMetadataProvider uses hardcoded class name Key: CALCITE-4834 URL: https://issues.apache.org/jira/browse/CALCITE-4834 Project: Calcite Issue

[jira] [Created] (CALCITE-4833) Complex nested correlated subquery failed.

2021-10-06 Thread Evgeny Stanilovsky (Jira)
Evgeny Stanilovsky created CALCITE-4833: --- Summary: Complex nested correlated subquery failed. Key: CALCITE-4833 URL: https://issues.apache.org/jira/browse/CALCITE-4833 Project: Calcite

Re: Can`t build master of calcite.

2021-10-06 Thread Vladimir Sitnikov
>Does no other build it locally for such a time ?:) Evgeny, it is very likely you hit the bug because you use a stale version of OpenJDK. What Stamatis merged is not a fix, but it is a workaround. In any case, if you use an outdated Java version, it is up to you to figure out why the build does

Re: [DISCUSS] Draft board report for Oct 2021

2021-10-06 Thread Francis Chuang
Looks good to me! Avatica 1.19 is currently being voted upon, so if it finalizes before the 12th, it should be added to the report. I'd suggest using the longer description for the project: Apache Calcite is a highly customizable framework for parsing and planning queries on data in a wide

Re: Can`t build master of calcite.

2021-10-06 Thread stanilovsky evgeny
Thanks Stamatis, seems it`s my case too) Does no other build it locally for such a time ?:) I think you hit CALCITE-4798 [1] but not sure why others didn't now bump into this so far. There is a PR ready, I will test if it resolves the problem for me and merge it today. Best, Stamatis [1]

Re: Can`t build master of calcite.

2021-10-06 Thread Stamatis Zampetakis
I think you hit CALCITE-4798 [1] but not sure why others didn't now bump into this so far. There is a PR ready, I will test if it resolves the problem for me and merge it today. Best, Stamatis [1] https://issues.apache.org/jira/browse/CALCITE-4798 On Wed, Oct 6, 2021 at 9:31 AM stanilovsky

[jira] [Created] (CALCITE-4832) Refactor Gradle to build-logic convention plugins

2021-10-06 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-4832: -- Summary: Refactor Gradle to build-logic convention plugins Key: CALCITE-4832 URL: https://issues.apache.org/jira/browse/CALCITE-4832 Project: Calcite

Re: Can`t build master of calcite.

2021-10-06 Thread stanilovsky evgeny
Thanks, i suppose it`s all ok with java java -version openjdk version "13.0.7" 2021-04-20 OpenJDK Runtime Environment (build 13.0.7+5-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 13.0.7+5-Ubuntu-0ubuntu120.04, mixed mode) and not ok with: build.gradle.kts ''' val werror by props(true)

Re: Can`t build master of calcite.

2021-10-06 Thread Vladimir Sitnikov
What is the exact Java version you are using? It looks like https://bugs.openjdk.java.net/browse/JDK-8032211 , and it might be that newer OpenJDK include the fix. Vladimir

[DISCUSS] Draft board report for Oct 2021

2021-10-06 Thread Haisheng Yuan
Attached below is a draft of this month's board report. I plan to submit it on Oct 12. Please let me know if you have additions or corrections. ## Description: The mission of Calcite is the creation and maintenance of software related to Dynamic data management framework ## Issues: There are

Can`t build master of calcite.

2021-10-06 Thread stanilovsky evgeny
hi ! can`t build top of calcite (sha: commit 74e97780add051cb71a122075e5bcbceb) $ ./gradlew build Task :core:compileJava /home/zstan/work/repo/calcite/core/src/main/java/org/apache/calcite/prepare/PlannerImpl.java:39: warning: [deprecation]