----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33209/#review80165 -----------------------------------------------------------
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/ViewHandler.java <https://reviews.apache.org/r/33209/#comment129929> One question. Seems you call DrillRelOptUtil.createRename(), just to get the rowtype of this new project. Why can't you create a rowType with the desired field name directly? - Jinfeng Ni On April 14, 2015, 10:28 p.m., Venki Korukanti wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/33209/ > ----------------------------------------------------------- > > (Updated April 14, 2015, 10:28 p.m.) > > > Review request for drill and Jinfeng Ni. > > > Repository: drill-git > > > Description > ------- > > Create a cast to rename the view definition query row type to view field list > specified in CREATE VIEW statement. > > > Diffs > ----- > > > exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/DrillRelOptUtil.java > cacf26b > > exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/ViewHandler.java > 4347249 > exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java > 578eace > > Diff: https://reviews.apache.org/r/33209/diff/ > > > Testing > ------- > > Includes unittests. > > > Thanks, > > Venki Korukanti > >
