File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ def window_frame(self, window_frame: WindowFrame) -> ExprFuncBuilder:
463
463
set parameters for either window or aggregate functions. If used on any other
464
464
type of expression, an error will be generated when ``build()`` is called.
465
465
"""
466
- return ExprFuncBuilder (self .expr .window_frame (window_frame ))
466
+ return ExprFuncBuilder (self .expr .window_frame (window_frame . window_frame ))
467
467
468
468
469
469
class ExprFuncBuilder :
@@ -498,7 +498,7 @@ def partition_by(self, *partition_by: Expr) -> ExprFuncBuilder:
498
498
499
499
def window_frame (self , window_frame : WindowFrame ) -> ExprFuncBuilder :
500
500
"""Set window frame for window functions."""
501
- return ExprFuncBuilder (self .builder .window_frame (window_frame ))
501
+ return ExprFuncBuilder (self .builder .window_frame (window_frame . window_frame ))
502
502
503
503
def build (self ) -> Expr :
504
504
"""Create an expression from a Function Builder."""
You can’t perform that action at this time.
0 commit comments