[jira] [Created] (CALCITE-5294) Improve PruneEmptyRules join instances to remove join if generates null and one branch is empty

2022-09-21 Thread Krisztian Kasa (Jira)
Krisztian Kasa created CALCITE-5294: --- Summary: Improve PruneEmptyRules join instances to remove join if generates null and one branch is empty Key: CALCITE-5294 URL: https://issues.apache.org/jira/browse/CALCITE

Re: Requesting Information Regarding Enumerable

2022-09-21 Thread Pranav Deshpande
Hi Ruben, Thank you very much for your reply! Will I have to create a different Metadata Handler per operator (eg. Project, Correlate etc.) or can I make a common one? Also, I am having some trouble finding where to put this statement: ChainedRelMetadataProvider.of(ImmutableList.of(YourRelMdNonC

Re: Requesting Information Regarding Enumerable

2022-09-21 Thread Ruben Q L
Hello Pranav, Inside YourRelMdNonCumulativeCost class, you'd need to create one method per operator (for those whose RelOptCost you want to "override"). You can take a look at the code of the existing RelMd* classes in Calcite to have an idea [1]. Once you have your metadata provider, i.e. somet

Requesting information regarding sub-schemas

2022-09-21 Thread Pranav Deshpande
Dear Apache Calcite Dev Team, I recently created an in memory schema and table and tried to run queries on it using the enumerable and bindable conventions. By nested schemas I mean this: RootSchema has 3 schemas (or sub schemas), schema1, schema2 and schema3. Each of these 3 have multiple (but di

Re: Requesting information regarding sub-schemas

2022-09-21 Thread Alessandro Solimando
Hi Pranav, it's helpful to complement what you provided with actual error messages/stack traces (if any) or at least a detailed description of expected vs actual behaviour if there is no "apparent" error. If you also have a minimal repro, that would definitely be helpful. Best regards, Alessandro

Re: Requesting information regarding sub-schemas

2022-09-21 Thread Pranav Deshpande
Hi Alessandro, Thank you. I will reproduce the error and get back to this thread. Regards, Pranav On Wed, Sep 21, 2022 at 1:14 PM Alessandro Solimando < alessandro.solima...@gmail.com> wrote: > Hi Pranav, > it's helpful to complement what you provided with actual error > messages/stack traces (i

[jira] [Created] (CALCITE-5295) Read the values of plugins (such as connect string properties) from ThreadLocal fields

2022-09-21 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5295: Summary: Read the values of plugins (such as connect string properties) from ThreadLocal fields Key: CALCITE-5295 URL: https://issues.apache.org/jira/browse/CALCITE-5295