Re: [ANNOUNCE] Apache Calcite 1.23.0 released

2020-05-27 Thread Enrico Olivelli
Great Enrico Il Gio 28 Mag 2020, 05:12 Chunwei Lei ha scritto: > Nice job, Haisheng! > > > Best, > Chunwei > > > On Thu, May 28, 2020 at 10:42 AM XING JIN wrote: > > > Thanks a lot for driving this, Haisheng! > > > > Best, > > Jin > > > > Stamatis Zampetakis 于2020年5月28日周四 上午7:14写道: > > > >

Re: [ANNOUNCE] Apache Calcite 1.23.0 released

2020-05-27 Thread Chunwei Lei
Nice job, Haisheng! Best, Chunwei On Thu, May 28, 2020 at 10:42 AM XING JIN wrote: > Thanks a lot for driving this, Haisheng! > > Best, > Jin > > Stamatis Zampetakis 于2020年5月28日周四 上午7:14写道: > > > Many thanks again Haisheng, the release has your signature on it and it > is > > in many places

Re: [ANNOUNCE] Apache Calcite 1.23.0 released

2020-05-27 Thread XING JIN
Thanks a lot for driving this, Haisheng! Best, Jin Stamatis Zampetakis 于2020年5月28日周四 上午7:14写道: > Many thanks again Haisheng, the release has your signature on it and it is > in many places :) > > On Wed, May 27, 2020 at 9:34 PM Haisheng Yuan wrote: > > > The Apache Calcite team is pleased to

[jira] [Created] (CALCITE-4028) Unknown error in simple query from JDBCSchema connection to MS SqlServer

2020-05-27 Thread David Hait (Jira)
David Hait created CALCITE-4028: --- Summary: Unknown error in simple query from JDBCSchema connection to MS SqlServer Key: CALCITE-4028 URL: https://issues.apache.org/jira/browse/CALCITE-4028 Project:

Re: [ANNOUNCE] Apache Calcite 1.23.0 released

2020-05-27 Thread Stamatis Zampetakis
Many thanks again Haisheng, the release has your signature on it and it is in many places :) On Wed, May 27, 2020 at 9:34 PM Haisheng Yuan wrote: > The Apache Calcite team is pleased to announce the release of Apache > Calcite 1.23.0. > > Calcite is a dynamic data management framework. Its

Re: [DISCUSS] What should ProjectFilterTransposeRule do?

2020-05-27 Thread Stamatis Zampetakis
Hello, I looked into the rule recently but to be honest I already forgot what it really does. Expect: B Hope: A Comments: Judging by the name I would expect B, pushing as much as possible from the top project but not altering the filter. In the end it is just a transpose. On the other hand, I

Re: [DISCUSS] Towards Calcite-Avatica 1.17.0

2020-05-27 Thread Francis Chuang
Now that Calcite 1.23.0 has been released I think it's a good time to try to get Avatica 1.17.0 released. There are currently 10 open PRs on Github [1]. Can community members please review and comment on them if there are some spare cycles available? If we can get some of those PRs merged,

Re: Master is open

2020-05-27 Thread Haisheng Yuan
Yes, master branch is ready to accept new commits. On 2020/05/27 19:26:01, Julian Hyde wrote: > Thanks for committing those PRs. I think we should re-open master now. > > On Sun, May 24, 2020 at 4:34 PM Haisheng Yuan wrote: > > > > I have gone over those deferred PRs that were good to go and

[ANNOUNCE] Apache Calcite 1.23.0 released

2020-05-27 Thread Haisheng Yuan
The Apache Calcite team is pleased to announce the release of Apache Calcite 1.23.0. Calcite is a dynamic data management framework. Its cost-based optimizer converts queries, represented in relational algebra, into executable plans. Calcite supports many front-end languages and back-end data

Re: Master is open

2020-05-27 Thread Julian Hyde
Thanks for committing those PRs. I think we should re-open master now. On Sun, May 24, 2020 at 4:34 PM Haisheng Yuan wrote: > > I have gone over those deferred PRs that were good to go and committed them. > Nothing blocker from my side. > > Haisheng > > On 2020/05/24 20:03:00, Haisheng Yuan

[jira] [Created] (CALCITE-4027) Add -Doverwrite option to SqlToRelTestBase

2020-05-27 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-4027: -- Summary: Add -Doverwrite option to SqlToRelTestBase Key: CALCITE-4027 URL: https://issues.apache.org/jira/browse/CALCITE-4027 Project: Calcite Issue

Re: [VOTE] Release apache-calcite-1.23.0 (release candidate 1)

2020-05-27 Thread Julian Hyde
Haisheng, Thanks for the release announcement yesterday: https://lists.apache.org/thread.html/r555d7f90568ef199c65dfddcf58b14076ac803c0dca64d945d75ba69%40%3Cannounce.apache.org%3E. Can you also send it to dev@? Thank you for getting those 6 PRs into master (3985, 3988, 3910, 3999, 3478, 3950).

Re: [VOTE] Release apache-calcite-1.23.0 (release candidate 1)

2020-05-27 Thread Haisheng Yuan
Now it is back to normal: https://repo1.maven.org/maven2/org/apache/calcite/calcite-core/1.23.0/ On 2020/05/26 14:00:50, Haisheng Yuan wrote: > Hi Enrico, > > Thanks for reporting the issue. > > I have created a JIRA ticket: > https://issues.apache.org/jira/browse/INFRA-20326 > > Thanks, >

[DISCUSS] What should ProjectFilterTransposeRule do?

2020-05-27 Thread Julian Hyde
As part of https://issues.apache.org/jira/browse/CALCITE-3975, I've been looking into what ProjectFilterTransposeRule does with expressions. It's one of our oldest rules, and I thought I knew what it did. But the rule does not do what I expect. I've like to conduct a straw poll to see what other

Re: Link4j AST Node | ExpressionWriter Runtime Exception

2020-05-27 Thread Julian Hyde
Do you really need to create a new kind of Linq4j node? On Wed, May 27, 2020 at 11:03 AM Ravi Kapoor wrote: > > Hi Team, > > The Java AST Node interface in the calcite - linq4j project has below API > for converting expressions to java code > > *void accept(ExpressionWriter expressionWriter)* >

Link4j AST Node | ExpressionWriter Runtime Exception

2020-05-27 Thread Ravi Kapoor
Hi Team, The Java AST Node interface in the calcite - linq4j project has below API for converting expressions to java code *void accept(ExpressionWriter expressionWriter)* However, ExpressionWriter class is declared as package protected and not part of exported API. Could not understand the

Re: [DISCUSS] Why ProjectRemoveRule dose not consider field name when apply this rule

2020-05-27 Thread Rui Wang
Sorry, I meant "I am not sure if Calcite does it" (likely not). -Rui On Wed, May 27, 2020 at 10:31 AM Rui Wang wrote: > Hello, > > This topic was discussed in > https://issues.apache.org/jira/browse/CALCITE-1584. > > I am sure if Calcite does it, but in another SQL parser/analyzer >

Re: [DISCUSS] Why ProjectRemoveRule dose not consider field name when apply this rule

2020-05-27 Thread Rui Wang
Hello, This topic was discussed in https://issues.apache.org/jira/browse/CALCITE-1584. I am sure if Calcite does it, but in another SQL parser/analyzer implementation I have saw, each logical plan has a top attribute about final output column names, so even nodes might be merged/removed, at

[DISCUSS] Why ProjectRemoveRule dose not consider field name when apply this rule

2020-05-27 Thread 董 一峰
Hello everyone,      When we run the following test case: SQL: WITH T_CTE (i1_cte, i2_cte) AS ( SELECT i1, d3 FROM t1 ) SELECT * FROM t2 JOIN T_CTE ON (t2.i1 = T_CTE.i1_cte)                 Logical Plan(After ProjectRemoveRule):