Re: Going to ApacheCon?

2022-09-27 Thread Julian Hyde
Thanks, Martijn. If we don’t bump into each other, let’s connect over the conference Slack and maybe we can have dinner together. If anyone else on this list is attending ApacheCon, please reach out. I’d love to meet you. Julian > On Sep 27, 2022, at 12:37 AM, Martijn Visser wrote: > > Hi

Re: Conversion from Bindable to Enumerable

2022-09-27 Thread Stamatis Zampetakis
Hi Pranav, The rule that you are probably looking for is EnumerableInterpreterRule [1]. The ScannableTableTest [2] contains a bunch of test cases very similar to what you want to achieve. If you want to see how everything works together, pick one test and run it in debug mode. Best, Stamatis

[jira] [Created] (CALCITE-5300) Cannot access org.immutables.value.Value error when extending standard rules

2022-09-27 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-5300: Summary: Cannot access org.immutables.value.Value error when extending standard rules Key: CALCITE-5300 URL: https://issues.apache.org/jira/browse/CALCITE-5300

Re: Conversion from Bindable to Enumerable

2022-09-27 Thread Thomas Rebele
Hello Pranav, here some untested pseudo-code that could give you an idea how to achieve this. It probably needs several adaptations to make it work (marked with "<- here", possibly others). private static final Method BIND = Types.lookupMethod(Bindable.class, > "bind", Bindable.class,

Re: mocking service for Database

2022-09-27 Thread Kartik Kudada
Thanks Jullian , Yes, I am doing changes to the calcite code base (in core module, CalciteStatement class), I will make jar and use it in tools like DBeaver for different databases. I will try either of the options suggested. On Tue, Sep 27, 2022 at 12:46 AM Julian Hyde wrote: > Kartik, > >

Re: Going to ApacheCon?

2022-09-27 Thread Martijn Visser
Hi Julian, I will already attend another BoaF session but looking forward to see you and others from the Calcite community. Best regards, Martijn On Mon, Sep 19, 2022 at 8:50 PM Julian Hyde wrote: > Anyone going to ApacheCon in New Orleans? Would you be interested in a > Birds of a Feather

[jira] [Created] (CALCITE-5299) Unparsing should not add parentheses for SELECT in WITH body

2022-09-27 Thread Mou Wu (Jira)
Mou Wu created CALCITE-5299: --- Summary: Unparsing should not add parentheses for SELECT in WITH body Key: CALCITE-5299 URL: https://issues.apache.org/jira/browse/CALCITE-5299 Project: Calcite