Re: Using Calcite in a multi-tenant application

2022-10-20 Thread Julian Hyde
First, remember that the Calcite "interface Schema" is quite low level. It is basically a namespace that contains a set of tables and a set of sub-schemas. You can, and probably should, make it immutable. A Schema instance doesn’t know its own name or path. That allows you to “mount” it (as

Re: RelOptRulesTest.java and RelOptRulesTest.xml

2022-10-20 Thread Julian Hyde
Do you think that RelOptRulesTest should fail if the resources are not sorted alphabetically? (I thought it did that at some point… I may be wrong. Anyway, I am a fan of ‘fail fast’. The person who introduces the error should be the person to fix it.) > On Oct 20, 2022, at 9:20 AM, Alessandro

RelOptRulesTest.java and RelOptRulesTest.xml

2022-10-20 Thread Alessandro Solimando
Hello everyone, I have recently added tests to RelOptRulesTest.java, took the chance to update (maven instruction with gradle instructions, path has changed) and improved them a little bit. While testing the commands I have noticed that few PRs in the last months had tests added to