Question about Calcite History

2021-05-05 Thread Junwen Liu
Hi Mr. or Ms. : I'm an engineer who is using Calcite as our Optimizer in our project.Calcite is an amazing framework that can meet our demands. But I want to know mostly is the history of Calcite, we also want to create an open-source project. So I want to know these things about calcite: 1. When

Re: Trait propagation in heterogeneous plans

2021-05-05 Thread Julian Hyde
Vladimir, You are arguing for pragmatism over idealism. I get that. The problem with your argument is that you go on to say > If in the future we invest in the > proper integration That’s a big “If”. Who is the “we” who is going to do this work? Now you are the one being unrealistic.

Re: RelFieldTrimmer throws an exception in certain cases

2021-05-05 Thread Julian Hyde
Thanks, Konstantin. I have logged https://issues.apache.org/jira/browse/CALCITE-4597 to make the policy configurable. Eventually I would like to allow empty row types throughout the system, but until then, rules and RelFieldTrimmer should follow Postel’s law [1] and accept empty row types but

[jira] [Created] (CALCITE-4597) Allow RelNodes to have an empty row type (zero fields)

2021-05-05 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-4597: Summary: Allow RelNodes to have an empty row type (zero fields) Key: CALCITE-4597 URL: https://issues.apache.org/jira/browse/CALCITE-4597 Project: Calcite

Re: Trait propagation in heterogeneous plans

2021-05-05 Thread Vladimir Ozerov
Hi Vladimir, Julian, I want to distinguish between two cases. Some projects may decide to use Calcite's distribution trait. To my knowledge, this is not a common pattern because it is not really integrated into Calcite. It is not destroyed/adjusted in rules and operators as needed, not

Re: Proposal to extend Calcite into a incremental query optimizer

2021-05-05 Thread Botong Huang
Hi Stamatis and all, Thanks for the interest! Let's tentatively schedule the next meeting next Wednesday at May 12, 10pm-11pm PST then. Please let us know if there's new needs showing up. Best, Botong On Sun, May 2, 2021 at 2:59 PM Stamatis Zampetakis wrote: > Hello, > > I really regret

Re: RelFieldTrimmer throws an exception in certain cases

2021-05-05 Thread Konstantin Orlov
> Konstantin, can you log it, please Yes, sure. Here it is [1] [1] https://issues.apache.org/jira/browse/CALCITE-4596 -- Regards, Konstantin Orlov > On 4 May 2021, at 21:29, Julian Hyde wrote: > > Regardless of which direction we go

[jira] [Created] (CALCITE-4596) RelFieldTrimmer#trimFields fails if values row type is empty record

2021-05-05 Thread Konstantin Orlov (Jira)
Konstantin Orlov created CALCITE-4596: - Summary: RelFieldTrimmer#trimFields fails if values row type is empty record Key: CALCITE-4596 URL: https://issues.apache.org/jira/browse/CALCITE-4596