[jira] [Created] (CALCITE-5344) Remove Travis CI configuration

2022-10-24 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-5344: --- Summary: Remove Travis CI configuration Key: CALCITE-5344 URL: https://issues.apache.org/jira/browse/CALCITE-5344 Project: Calcite Issue Type: Task

Re: Migrating away from Travis-CI

2022-10-24 Thread Benchao Li
+1, thanks Francis for driving this. Julian Hyde 于2022年10月25日周二 07:57写道: > +1 > > > On Oct 24, 2022, at 3:49 PM, Francis Chuang > wrote: > > > > Travis will no longer be available for ASF projects at the end of 2022. > > > > For Calcite, only the calcite and calcite-avatica repos use travis

Re: Migrating away from Travis-CI

2022-10-24 Thread Julian Hyde
+1 > On Oct 24, 2022, at 3:49 PM, Francis Chuang wrote: > > Travis will no longer be available for ASF projects at the end of 2022. > > For Calcite, only the calcite and calcite-avatica repos use travis and those > projects are also using Github Actions already. Perhaps in our case we will >

Fwd: Migrating away from Travis-CI

2022-10-24 Thread Francis Chuang
Travis will no longer be available for ASF projects at the end of 2022. For Calcite, only the calcite and calcite-avatica repos use travis and those projects are also using Github Actions already. Perhaps in our case we will just need to remove the Travis configs from those repos. Francis

[jira] [Created] (CALCITE-5343) Type of division operator

2022-10-24 Thread Mihai Budiu (Jira)
Mihai Budiu created CALCITE-5343: Summary: Type of division operator Key: CALCITE-5343 URL: https://issues.apache.org/jira/browse/CALCITE-5343 Project: Calcite Issue Type: Bug

RE: Re: Using Calcite in a multi-tenant application

2022-10-24 Thread Mike Albritton
Thank you all for the helpful responses. In my testing, I was using Julian’s suggested approach by creating a root schema for each tenant. This allowed me to not have to force unique catalogs across tenants. Thanks again for the information everyone. Regards, Mike On 2022/10/21 13:18:20

Re: What is the difference between TableMacro and TableFunction?

2022-10-24 Thread Jiajun Xie
Sorry, there is a problem with the format of the last message. Here is new version: I'm learning Calcite's TableMacro[1] and TableFunction[2] and I feel they are very similar. - From their descriptions, TableMacro is for "compile time", TableFunction is for “execution time". - From an email[3],

What is the difference between TableMacro and TableFunction?

2022-10-24 Thread Jiajun Xie
Hi, all: I'm learning Calcite's TableMacro[1] and TableFunction[2] and I feel they are very similar. - From their descriptions, TableMacro is for *"compile time", * TableFunction is for “*execution time". * *- From an email[3], I know T*ableFunction can be seen as a lightweight relational

Re: RelOptRulesTest.java and RelOptRulesTest.xml

2022-10-24 Thread Benchao Li
Thanks Alessandro for driving this. It's great to hear this is being improved. I suffered from this problem several times before. Alessandro Solimando 于2022年10月24日周一 17:25写道: > I have a working implementation in the PR 2948 > for CALCITE-5340 >

Re: RelOptRulesTest.java and RelOptRulesTest.xml

2022-10-24 Thread Alessandro Solimando
I have a working implementation in the PR 2948 for CALCITE-5340 , it's covering the following test suites: - HepPlannerTest - RelOptRulesTest - SqlHintsConverterTest - SqlToRelConverterTest -

apache calcite UDAF implementation

2022-10-24 Thread 张帅
hi, I am implementing a user-defined aggregate function, it needs input two parameters like "AGG(column, 5)", the first is the agg column, the second is a number literal. I implement it like this: public class CalciteUDAF { public List init() {return new ArrayList()} public List

Re: apache calcite UDAF implementation

2022-10-24 Thread 张帅
get it, in add 张帅 <79834585...@gmail.com> 于2022年10月24日周一 09:39写道: > hi, > I am implementing a user-defined aggregate function, it needs input two > parameters like "AGG(column, 5)", the first is the agg column, the second > is > a number literal. > I implement it like this: > public class