Re: Top-down pass of an optimized plan

2019-11-12 Thread Stamatis Zampetakis
Hi Makis, +1 to Haisheng said! Apart from HepPlanner, another class that is used often for pre/post processing a plan is RelShuttle [1]. Best, Stamatis [1] https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/RelShuttle.java On Tue, Nov 12, 2019 at 11:22 PM

[jira] [Created] (CALCITE-3497) Calcite TimestampString should provide getNanosInSecond interface

2019-11-12 Thread Zhenghua Gao (Jira)
Zhenghua Gao created CALCITE-3497: - Summary: Calcite TimestampString should provide getNanosInSecond interface Key: CALCITE-3497 URL: https://issues.apache.org/jira/browse/CALCITE-3497 Project:

Re: Re: Re: Optimizer: All the inputs have relevant nodes, however the cost is still infinite.

2019-11-12 Thread Rui Wang
I found EnumerableTableFunctionScanRule and EnumerableTableFunctionScan are not tested in unit tests in core (checked by code search in core/test). The right approach seems to me now is add more tests and then gradually see if I can narrow down the problem. Are there recommended places that I

Re: Top-down pass of an optimized plan

2019-11-12 Thread Serafeim (Makis) Papadias
Thanks a lot Haisheng. I will try it and come back to you if I have some further questions. :) Best, Makis > On 12 Nov 2019, at 11:04 PM, Haisheng Yuan wrote: > > Hi Makis, > > You can use HepPlanner and your customized transoformation rule to rewrite > the optimized plan. Top-down or

Re: Top-down pass of an optimized plan

2019-11-12 Thread Haisheng Yuan
Hi Makis, You can use HepPlanner and your customized transoformation rule to rewrite the optimized plan. Top-down or Bottom-up can also be specified. Many systems have this kind of post processing phase. - Haisheng --

Top-down pass of an optimized plan

2019-11-12 Thread Serafeim (Makis) Papadias
Dear all, I am performing a Volcano optimisation pass first and I receive the root of the optimised plan from the standard Program in [1]. Afterwards, I want to perform a top-down pass to the optimised plan and change it a bit by placing certain operators at specific points. Do you have any

Re: Contribution permission request

2019-11-12 Thread Francis Chuang
Whoops, it looks like I clicked "reply" instead of "reply list" when I replied to the original thread. On 13/11/2019 3:49 am, Josh Elser wrote: Looks like someone has already added you. Happy contributing. On 11/12/19 3:52 AM, Amir Gajst wrote: Hi Calcite community, My name is Amir Gajst

Re: Contribution permission request

2019-11-12 Thread Amir Gajst
Thanks On Tue, Nov 12, 2019 at 6:49 PM Josh Elser wrote: > Looks like someone has already added you. Happy contributing. > > On 11/12/19 3:52 AM, Amir Gajst wrote: > > Hi Calcite community, > > > > My name is Amir Gajst and I'm a developer at Sisense, a BI company. > > > > I’d like to

Re: Avatica + GitHub Actions + Windows = AvaticaSpnegoTest - Principal: HTTP/stratum.antpool....@example.com is not known

2019-11-12 Thread Josh Elser
It's strange that you see this on Windows. Everything should be using localhost in the tests. Maybe that means it's something specific to Windows? I don't know enough to say if that's a reasonable guess or not. The principal looked up stems from the hostname you issue a request to. e.g. if

Re: Contribution permission request

2019-11-12 Thread Josh Elser
Looks like someone has already added you. Happy contributing. On 11/12/19 3:52 AM, Amir Gajst wrote: Hi Calcite community, My name is Amir Gajst and I'm a developer at Sisense, a BI company. I’d like to contribute to the community, could you please give me the necessary permission? My JIRA

[jira] [Created] (CALCITE-3496) Hive dialect support with cube and with rollup

2019-11-12 Thread xzh_dz (Jira)
xzh_dz created CALCITE-3496: --- Summary: Hive dialect support with cube and with rollup Key: CALCITE-3496 URL: https://issues.apache.org/jira/browse/CALCITE-3496 Project: Calcite Issue Type: Wish

[jira] [Created] (CALCITE-3495) RelDecorrelator generate plan with different semantics when handle Aggregate

2019-11-12 Thread Jin Xing (Jira)
Jin Xing created CALCITE-3495: - Summary: RelDecorrelator generate plan with different semantics when handle Aggregate Key: CALCITE-3495 URL: https://issues.apache.org/jira/browse/CALCITE-3495 Project:

Contribution permission request

2019-11-12 Thread Amir Gajst
Hi Calcite community, My name is Amir Gajst and I'm a developer at Sisense, a BI company. I’d like to contribute to the community, could you please give me the necessary permission? My JIRA username is agajst. Best, Amir -- [image: Sisense]

[jira] [Created] (CALCITE-3494) Support decimal type aggregate in Interpreter

2019-11-12 Thread Wang Yanlin (Jira)
Wang Yanlin created CALCITE-3494: Summary: Support decimal type aggregate in Interpreter Key: CALCITE-3494 URL: https://issues.apache.org/jira/browse/CALCITE-3494 Project: Calcite Issue