Re: [DISCUSS] Towards Calcite 1.26.0

2020-09-24 Thread Chunwei Lei
Thank you for driving this, Ruben. The schedule looks good to me. Best, Chunwei On Thu, Sep 24, 2020 at 3:26 AM Rui Wang wrote: > Thanks for all your help! Will experiment how it works best for me! > > > -Rui > > On Wed, Sep 23, 2020 at 12:06 PM Ruben Q L wrote: > > > Rui, > > I am not a git

Re: Disabling JaninoRelMetadataProvider

2020-09-24 Thread Fan Liya
Hi Julian, Thanks for your good suggestion. The idea of delayed freeze sounds reasonable to me, and it provides more flexibility. I also like the idea of an output report which is helpful for performance diagnostics. Best, Liya Fan On Fri, Sep 25, 2020 at 7:39 AM Julian Hyde wrote: > Would it

[jira] [Created] (CALCITE-4277) skip rule match when rel's relset is obsolete

2020-09-24 Thread Jiatao Tao (Jira)
Jiatao Tao created CALCITE-4277: --- Summary: skip rule match when rel's relset is obsolete Key: CALCITE-4277 URL: https://issues.apache.org/jira/browse/CALCITE-4277 Project: Calcite Issue Type: I

Re: Disabling JaninoRelMetadataProvider

2020-09-24 Thread Julian Hyde
Would it make sense to delay the 'freeze'? E.g. receive 1,000 requests (as measured using an AtomicInteger) and then freeze the JaninoRelMetadataProvider. That way, tests would not be competing with each other. Similarly, in production, you could create a production instance of JaninoRelMetadataPr

Re: [ DISCUSS] The window table functions join syntax

2020-09-24 Thread Rui Wang
Thanks Villiam for pointing this out! So the standard still solves duplicate names in "TUMBLE(TUMBLE())" by alias, which makes sense. Then we can evaluate whether Calcite supports alias for table function in a correct way in CALCITE-4274 . -Rui

[jira] [Created] (CALCITE-4276) Rewriting for materialized view will project wrong input

2020-09-24 Thread Justin Swett (Jira)
Justin Swett created CALCITE-4276: - Summary: Rewriting for materialized view will project wrong input Key: CALCITE-4276 URL: https://issues.apache.org/jira/browse/CALCITE-4276 Project: Calcite

[jira] [Created] (CALCITE-4275) EnumerableMergeJoin#create does not set EnumerableConvention in the trait set

2020-09-24 Thread Ruben Q L (Jira)
Ruben Q L created CALCITE-4275: -- Summary: EnumerableMergeJoin#create does not set EnumerableConvention in the trait set Key: CALCITE-4275 URL: https://issues.apache.org/jira/browse/CALCITE-4275 Project:

Re: [ DISCUSS] The window table functions join syntax

2020-09-24 Thread Viliam Durina
I think we're discussing two issues. One is "TUMBLE join TUMBLE" and the other is "TUMBLE(TUMBLE())". In both cases the `window_start` and `window_end` columns are duplicated. In case of JOIN, I don't see any issue. It's equivalent to any join of two tables, e.g.: SELECT * FROM t1 JOIN t2 o