Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In PlannerImpl:ViewExpanderImpl, the code does not pass in ViewExpalnderImpl. That cause a view of another view will not be expanded properly.
Also, ViewExpanderImpl's SqlToRelConverter does not have the same setting, or does not go throw the same transformation (flattenTypes, decorrelateQuery) step as the regular one in convert() method. That means some transformation might be missing to be applied to RelNode generated from a view.