[fix](nereids)window expression's window frame may lost in NormalizeToSlot (#30378)
This commit is contained in:
@ -185,6 +185,9 @@ public interface NormalizeToSlot {
|
||||
}
|
||||
newChildren.add(newChild);
|
||||
}
|
||||
if (windowExpression.getWindowFrame().isPresent()) {
|
||||
newChildren.add(windowExpression.getWindowFrame().get());
|
||||
}
|
||||
return hasNewChildren ? windowExpression.withChildren(newChildren) : windowExpression;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user