branch-2.1: [opt](Nereids) avoid generate nested alias expr when plan insert values (#50388)
This commit is contained in:
@ -247,6 +247,7 @@ public class BindSink implements AnalysisRuleFactory {
|
||||
// we skip it.
|
||||
continue;
|
||||
}
|
||||
expr = expr.toSlot();
|
||||
DataType inputType = expr.getDataType();
|
||||
DataType targetType = DataType.fromCatalogType(tableSchema.get(i).getType());
|
||||
Expression castExpr = expr;
|
||||
|
||||
Reference in New Issue
Block a user