Re: Diff in Materialization views registration between Calcite 1.10 and calcite 1.12

2017-03-09 Thread Jesus Camacho Rodriguez
There are two different objects associated with the view: 1) the view itself (TableScan on a materialized view) and 2) the view content (RelNode plan representing the query of the view). 1) I understand that the first object (TS on view) should be registered, as it might be part of the

Re: Diff in Materialization views registration between Calcite 1.10 and calcite 1.12

2017-03-09 Thread Julian Hyde
So, the question is whether materialized views need to be “registered” with the planner before they can be considered. If they are “registered” with a Volcano planner this means that they are included in equivalence classes (RelSets and RelSubsets) and canonized. A weaker form of registration

Diff in Materialization views registration between Calcite 1.10 and calcite 1.12

2017-03-09 Thread Remus Rusanu
Moving to calcite-dev From: Remus Rusanu Date: Thursday, March 9, 2017 at 1:04 PM To: Ashutosh Chauhan , Julian Hyde Cc: "sql...@hortonworks.com" Subject: Why Calcite 1.10 is not hitting the