[jira] [Created] (CALCITE-4611) Ambiguous column exception occurred when a table function has same column name in its input and output column list

2021-05-18 Thread lincoln lee (Jira)
lincoln lee created CALCITE-4611: Summary: Ambiguous column exception occurred when a table function has same column name in its input and output column list Key: CALCITE-4611 URL: https://issues.apache.org/jira/b

[ANNOUNCE] Apache Calcite Avatica 1.18.0 released

2021-05-18 Thread Francis Chuang
The Apache Calcite team is pleased to announce the release of Apache Calcite Avatica 1.18.0. Avatica is a framework for building database drivers. Avatica defines a wire API and serialization mechanism for clients to communicate with a server as a proxy to a database. The reference Avatica cli

Re: Enumerable rules lost hint info

2021-05-18 Thread JiaTao Tao
Hi Julian When hints were introduced, was that part of the plan? "hint" is a field in the base class, so the type of the node doesn't matter public abstract class Project extends SingleRel implements Hintable { //~ Instance fields pro

[jira] [Created] (CALCITE-4610) Sarg in JOIN -> AssertionError in RelToSqlConverter

2021-05-18 Thread Steven Talbot (Jira)
Steven Talbot created CALCITE-4610: -- Summary: Sarg in JOIN -> AssertionError in RelToSqlConverter Key: CALCITE-4610 URL: https://issues.apache.org/jira/browse/CALCITE-4610 Project: Calcite I

Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
> >Just to confirm, the guide suggests open build.gradle.kts as a project. >Did you open it as a project and then re-done the import again? >That sounds strange. What is your IDEA version? > Yes, I opened it as a project as the guide suggests. After that I had to do "build.gradle.kts->Right Click-

Re: Calcite development using IntelliJ

2021-05-18 Thread Vladimir Sitnikov
>I followed the steps in "Setting up IntelliJ IDEA" in the guide and had the >project compiled via command line, Oh, I did not know it was there. "build via command line" is NOT really needed. Sometimes it might be helpful to debug IDEA or Gradle issue, however, the import should work without any

Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
I followed the steps in "Setting up IntelliJ IDEA" in the guide and had the project compiled via command line, but still had to do "build.gradle.kts Right Click->Import as Gradle Project" and "Reload Gradle Project" to make things work. I am not sure if this is just on my local setup or something t

Re: Calcite development using IntelliJ

2021-05-18 Thread Rui Wang
Also occasionally, I found that some of the issues might go away if I have the project compiled by command line. -Rui On Tue, May 18, 2021 at 10:39 AM Vladimir Sitnikov < sitnikov.vladi...@gmail.com> wrote: > > I had to "build.gradle.kts Right Click->Import as Gradle Project" > > Just wondering

Re: Calcite development using IntelliJ

2021-05-18 Thread Vladimir Sitnikov
> I had to "build.gradle.kts Right Click->Import as Gradle Project" Just wondering, did you know there's a guide https://calcite.apache.org/docs/howto.html#setting-up-an-ide-for-contributing ? If you searched for the instructions somewhere else (do you remember by chance?), then we might want to

Re: Calcite development using IntelliJ

2021-05-18 Thread Amrish Lal
Thanks. It seems to be working now, although I had to "build.gradle.kts Right Click->Import as Gradle Project" and then "Reload Gradle Project" under the Gradle tab. On Mon, May 17, 2021 at 9:36 PM Julian Hyde wrote: > All those things usually work fine, and with very little effort. > > But occa

Tracking column's origin

2021-05-18 Thread James Daniel
Hi, all. I am trying to rewrite the query plan by removing some nodes but faced with issues related to manipulating column ref indexes. Let's consider the following calcite plan: LogicalProject([...]) LogicalJoin(condition=[=($0, $4)], joinType=[inner]) LogicalTableScan(table=[[DB, R]

Re: Enumerable rules lost hint info

2021-05-18 Thread Julian Hyde
Do we really need hints in physical operators? When hints were introduced, was that part of the plan? Julian > On May 17, 2021, at 11:50 PM, JiaTao Tao wrote: > > Hi > Recently, I'm integrating Calcite's hint into our system, and I've found > the Enumerable rules just throw the hint info(Immu

[RESULT][VOTE] Release apache-calcite-avatica-1.18.0 (release candidate 1)

2021-05-18 Thread Francis Chuang
Thanks to everyone who has tested the release candidate and given their comments and votes. The tally is as follows. 3 binding +1s: Francis Chuang Julian Hyde Stamatis Zampetakis 1 binding -1: Vladimir Sitnikov 1 non-binding +1s: Alessandro Solimando Therefore, I am delighted to announce tha