Maybe we need to add a config interface and default instance like SqlToRelConverter to signify this conversion.
Saurabh Gupta <saurabhgupta1...@gmail.com> 于2021年7月27日周二 下午11:15写道: > Hi Team, > There is one scenario for ex: create table temp1 as select c1,c2 from > table1 > .And table1 has only c1 , c2 columns so this query is getting translated as > : > create table temp1 as select * from table1. > > In this scenario we don't want the column to be converted to a star . > > One of the approaches is to add one more condition in isstar if block > if (!isStar(e.getProjects(), e.getInput().getRowType(), e.getRowType())) > > Can you please suggest any better approach to solve this problem , > > if the above approach looks good how to pass a boolean check to bypass > this condition > > > Thanks, > > Saurabh Gupta >