Re: subquery leading to a "java.lang.ClassCastException: RexSubQuery cannot be cast to RexLocalRef"

2018-02-16 Thread Alessandro Solimando
Thanks Julian, it is working now, I have updated the ticket accordingly. On 16 February 2018 at 23:24, Julian Hyde wrote: > I have made you a contributor; can you try doing "More > Link” again? > > > > On Feb 16, 2018, at 11:45 AM, Alessandro Solimando < > alessandro.solima...@gmail.com> wrote:

Calcite-Master - Build # 206 - Still Failing

2018-02-16 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #206) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/206/ to view the results.

Calcite-Master - Build # 205 - Still Failing

2018-02-16 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #205) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/205/ to view the results.

Re: "Standardizing" streaming SQL

2018-02-16 Thread Julian Hyde
I have kicked off development with the first PR to the Stream-SQL-TCK repository, and I have logged an issue for what I intend to work on next. Please review the PR[1] and comment on the issues [2], and “watch” the GitHub repo so that you are notified of new issues and PRs. If you disagree with

Re: "Standardizing" streaming SQL

2018-02-16 Thread Edmon Begoli
> If you can make committees aware of this effort, I would be very grateful. Julian — I can and will. I have officially joined the INCITS 32 and 32.2 standards group, and I should be able to serve in a role of a Calcite/Open Source SQL advocate to the this standards group, and to inform our commu

Re: "Standardizing" streaming SQL

2018-02-16 Thread Riccardo Tommasini
Hello all, I am definitely interested and I can share some references on existing algebras and work we did on the topic. On 16 Feb 2018, 23:59 +0100, Julian Hyde , wrote: Edmon, If you can make committees aware of this effort, I would be very grateful. It’s very clear to me that people are usi

Re: "Standardizing" streaming SQL

2018-02-16 Thread Julian Hyde
Edmon, If you can make committees aware of this effort, I would be very grateful. It’s very clear to me that people are using streaming SQL in the real world, and there is a need to standardize. Since we’re focusing on a TCK rather than specifications our efforts could complement those of the s

Re: [DISCUSS] Towards Calcite 1.16.0

2018-02-16 Thread Julian Hyde
Shuyi, I forgot to ask: What would be your preferred time-frame for the release? Julian > On Feb 16, 2018, at 10:59 AM, Julian Hyde wrote: > > My preferred time-frame would be to start a vote on Mar 1 or soon after. So > we’d have a release by say Mar 10. That gives us 2 weeks to produce an

Re: copy method in RelSubset class

2018-02-16 Thread Julian Hyde
Yes, it’s usually better that a bug as is described in terms of behavior an end-user would see, and has a test case for that behavior, rather than talking about internals “method x should call method y”. > On Feb 16, 2018, at 11:42 AM, Alessandro Solimando > wrote: > > Thanks Julian, the tick

Re: subquery leading to a "java.lang.ClassCastException: RexSubQuery cannot be cast to RexLocalRef"

2018-02-16 Thread Julian Hyde
I have made you a contributor; can you try doing "More > Link” again? > On Feb 16, 2018, at 11:45 AM, Alessandro Solimando > wrote: > > I have just checked and the issue is still there, so here is the ticket: > CALCITE-2184 > > It is linked

Calcite-Master - Build # 204 - Still Failing

2018-02-16 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #204) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/204/ to view the results.

[jira] [Created] (CALCITE-2185) Additional unit tests for Spark Adapter

2018-02-16 Thread Alessandro Solimando (JIRA)
Alessandro Solimando created CALCITE-2185: - Summary: Additional unit tests for Spark Adapter Key: CALCITE-2185 URL: https://issues.apache.org/jira/browse/CALCITE-2185 Project: Calcite

Re: subquery leading to a "java.lang.ClassCastException: RexSubQuery cannot be cast to RexLocalRef"

2018-02-16 Thread Alessandro Solimando
I have just checked and the issue is still there, so here is the ticket: CALCITE-2184 It is linked to CALCITE-2183 , I have tried to link it "the nice" way but I have failed, maybe I am missing

Re: copy method in RelSubset class

2018-02-16 Thread Alessandro Solimando
Thanks Julian, the ticket is open: https://issues.apache.org/jira/browse/CALCITE-2184 Given its size, I plan to propose the "fix" along with the PR with the new Spark adapter tests if that's ok. On 15 February 2018 at 19:46, Julian Hyde wrote: > Yes, log a JIRA case. Making RelSubset.copy retur

[jira] [Created] (CALCITE-2184) subquery leading to a "java.lang.ClassCastException: RexSubQuery cannot be cast to RexLocalRef"

2018-02-16 Thread Alessandro Solimando (JIRA)
Alessandro Solimando created CALCITE-2184: - Summary: subquery leading to a "java.lang.ClassCastException: RexSubQuery cannot be cast to RexLocalRef" Key: CALCITE-2184 URL: https://issues.apache.org/jira/br

[jira] [Created] (CALCITE-2183) invocation of copy method in RelSubset class

2018-02-16 Thread Alessandro Solimando (JIRA)
Alessandro Solimando created CALCITE-2183: - Summary: invocation of copy method in RelSubset class Key: CALCITE-2183 URL: https://issues.apache.org/jira/browse/CALCITE-2183 Project: Calcite

Re: [DISCUSS] Towards Calcite 1.16.0

2018-02-16 Thread Julian Hyde
My preferred time-frame would be to start a vote on Mar 1 or soon after. So we’d have a release by say Mar 10. That gives us 2 weeks to produce an Avatica release. But I’m flexible - the release could happen a couple of weeks later in March. In my queue I have the Geode and Jethro adapters. Bot

Re: [DISCUSS] Towards Calcite 1.16.0

2018-02-16 Thread Shuyi Chen
I am working on https://issues.apache.org/jira/browse/CALCITE-2045 (Create Type DDL). I was hoping to get it in for 1.16. Do we have the deadline for the 1.16 feature cut? Thanks. On Fri, Feb 16, 2018 at 10:43 AM, Julian Hyde wrote: > Sounds good. It’s about time for 1.16, and thanks for offerin

Re: [DISCUSS] Towards Calcite 1.16.0

2018-02-16 Thread Julian Hyde
Sounds good. It’s about time for 1.16, and thanks for offering to be release manager. But I’d like to get Avatica 1.11 [1] released first — it’s been 9 months — and make Calcite 1.16 depend on Avatica 1.11. See email thread[2]. Although that thread talks about an Avatica-Go release, that should

[jira] [Created] (CALCITE-2182) Release Avatica 1.11

2018-02-16 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-2182: Summary: Release Avatica 1.11 Key: CALCITE-2182 URL: https://issues.apache.org/jira/browse/CALCITE-2182 Project: Calcite Issue Type: Bug Reporter

[DISCUSS] Towards Calcite 1.16.0

2018-02-16 Thread Jesus Camacho Rodriguez
Calcite 1.15.0 was released on December 11 (more than two months ago). We have solved over 50 issues since then, hence I think we should start discussing about releasing Calcite 1.16.0 (I can be release manager if nobody else steps up). I have created [1] to keep track. CALCITE-2027 (dropping JDK

[jira] [Created] (CALCITE-2181) Release Calcite 1.16.0

2018-02-16 Thread Jesus Camacho Rodriguez (JIRA)
Jesus Camacho Rodriguez created CALCITE-2181: Summary: Release Calcite 1.16.0 Key: CALCITE-2181 URL: https://issues.apache.org/jira/browse/CALCITE-2181 Project: Calcite Issue Type

Re: Apache Drill/Calcite error on Date manipulation

2018-02-16 Thread Julian Hyde
Sure, please log a JIRA case. And develop a fix, if you are able to. > On Feb 16, 2018, at 4:11 AM, Rahul Raj wrote: > > I tested it on Drill 1.13 branch having the latest calcite changes merged > in. It throws an unsupported operation exception, should I raise a Calcite > ticked on this? > > o

Re: Apache Drill/Calcite error on Date manipulation

2018-02-16 Thread Rahul Raj
I tested it on Drill 1.13 branch having the latest calcite changes merged in. It throws an unsupported operation exception, should I raise a Calcite ticked on this? org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: UnsupportedOperationException: class org.apache.calcite.sql.SqlSyntax

Re: missing file on Calcite?

2018-02-16 Thread Alessandro Solimando
Hello, just a little addition to the solution of Shuyi. I had the same problem at first, Julian Hyde suggested a "$ mvn -DskipTests clean test" (enough to generate the missing file, but you are not forced to run the tests if you don't need to). On 16 February 2018 at 00:56, Shuyi Chen wrote: