[fix](planner)LateralViewRef's toSql method is not correctly implemented (#30590)
This commit is contained in:
@ -198,7 +198,7 @@ public class LateralViewRef extends TableRef {
|
||||
|
||||
@Override
|
||||
public String toSql() {
|
||||
return "lateral view " + expr.toSql() + " " + viewName + " as " + columnName;
|
||||
return "lateral view " + expr.toSql() + " `" + viewName + "` as `" + columnName + "`";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user