Hi all, Hopefully this is the right place to direct my questions. If not could someone direct me towards the right place.
I am currently exploring creating a Materialized View planner rule and am running into issues on how to create a materialized view in Calcite and utilize the current materialized view planner rules for a query workload. The Apache Calcite docs <https://calcite.apache.org/docs/materialized_views.html> only show what it can do, but not the actual code on how to get started with using materialized views or creating materialized views. Specifically I want to integrate the materialized view rules under https://calcite.apache.org/docs/materialized_views.html#rewriting-using-plan-structural-information into a planner (e.g Volcano or HepPlanner). I tried looking into the codebase, but it is so large I am not sure where to start looking, especially with the many Materialized[a-z]+ classes. Could someone point me to any code examples that utilize materialized views or at least in the right direction? Is there a way to automatically discover materialized view candidates that is not through creating a model.json file and modifying it like in https://calcite.apache.org/docs/lattice.html. Thanks, Justin So