Good observation. I will create a JIRA issue for that, and maybe see if we could put something together.
On Fri, Nov 10, 2017 at 13:38 Luis Fernando Kauer <[email protected]> wrote: > Sorry, > My knowledge hasn't reached that far. > Currently the tutorial and example code is mostly for creating new > adapters. > I think we need tutorial, documentation and example code to work directly > with the planner, because it is a lot harder. > Regards, > Luis Fernando > Em quinta-feira, 9 de novembro de 2017 06:52:26 BRST, Enrico Olivelli < > [email protected]> escreveu: > > I am going to use Calcite Planner inside my DBMS. > I would like to understand which objects can be reused and which objects > are treated in a dynamic fashion. > > Planner object, is this cachable ? I see i is not stateless. Is it better > to alwayes create a new instance or could it be reclycled ? > > Table statistics: > are them evaluated at every time a query is to be planned ? > at least the table size > > Schemas: > in a live system schema changes, but as far as I have undestood the Schema > is part of Framework config. > Which is the best strategy ? to drop the current framework config and all > cached objects in case of a DDL command ? > > Execution Plans: > Are RelNodes cachable ? I see they have strong references to the planner > which built the object. > I am looking to a cache like QUERY -> PhisycalPlan > > Regards > Enrico >
