Re: Using Calcite in a multi-tenant application

2022-10-19 Thread JiaTao Tao
In fact, you can change calcite to use like HMS to manager schema Regards! Aron Tao Mike Albritton 于2022年10月20日周四 07:16写道: > Hi all, > > > I am considering using Calcite in a multi-tenant application that can run > queries from different customers in the same process and have a few >

Re: Avatica Pull Requests

2022-10-19 Thread Benchao Li
I could help review this one Julian, in a few days. Julian Hyde 于2022年10月20日周四 07:22写道: > Thanks, everyone for stepping up. As promised, I'll review/merge two or > three PRs myself. > > Would one of you mind reviewing my PR 183 [1]? I don't usually ask for > review but this has potential

[jira] [Created] (CALCITE-5339) Use Method#getParameterCount rather than Method#getParameters to get length

2022-10-19 Thread Sergey Nuyanzin (Jira)
Sergey Nuyanzin created CALCITE-5339: Summary: Use Method#getParameterCount rather than Method#getParameters to get length Key: CALCITE-5339 URL: https://issues.apache.org/jira/browse/CALCITE-5339

Re: Avatica Pull Requests

2022-10-19 Thread Julian Hyde
Thanks, everyone for stepping up. As promised, I'll review/merge two or three PRs myself. Would one of you mind reviewing my PR 183 [1]? I don't usually ask for review but this has potential security implications. Julian [1] https://github.com/apache/calcite-avatica/pull/183 On 2022/10/17

Using Calcite in a multi-tenant application

2022-10-19 Thread Mike Albritton
Hi all, I am considering using Calcite in a multi-tenant application that can run queries from different customers in the same process and have a few questions for those familiar with the code about this approach. Specifically, I would like to know if metadata is completely separated

[jira] [Created] (CALCITE-5338) In Avatica's DateTimeUtils, replace floorDiv and floorMod with equivalents in java.lang.Math

2022-10-19 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5338: Summary: In Avatica's DateTimeUtils, replace floorDiv and floorMod with equivalents in java.lang.Math Key: CALCITE-5338 URL: https://issues.apache.org/jira/browse/CALCITE-5338

Re: Calcite Incorrect syntax for the keyword 'BEGIN'

2022-10-19 Thread Julian Hyde
BEGIN is procedural SQL. We'd like to add it, but it has not been implemented. See https://issues.apache.org/jira/browse/CALCITE-4728. On Wed, Oct 19, 2022 at 8:06 AM Nagaraj Tantri wrote: > > Hi, > > We are trying to use Apache Calcite for one of our projects with the > following configuration,

Re: Help with adding Spark functionality

2022-10-19 Thread Julian Hyde
According to this [1] FIRST is a synonym for FIRST_VALUE, which Calcite already has. Please log a Jira case describing the feature you want. Then design discussions can occur against that case. Have a look through the commit log at how people have added dialect-specific functions. Usually adding

Help with adding Spark functionality

2022-10-19 Thread Sophie Mugridge White
Hi, I'm looking to add support for the Spark FIRST and LAST functions. Please can I have some pointers as to where to look? In particular in reference to how it can be handled separately than the FIRST function that's part of MATCH_RECOGNIZE Thanks, Sophie -- This email is confidential, if

Calcite Incorrect syntax for the keyword 'BEGIN'

2022-10-19 Thread Nagaraj Tantri
Hi, We are trying to use Apache Calcite for one of our projects with the following configuration, for BigQuery: public static SqlParser.Config createBqConfig() { return SqlParser.config() .withCaseSensitive(false) .withLex(Lex.BIG_QUERY)

Jenkins build is back to normal : Calcite » Calcite-snapshots #249

2022-10-19 Thread Apache Jenkins Server
See