Skip to content

Commit fce61dc

Browse files
committed
fix window function
1 parent 5e594fb commit fce61dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mindsdb_sql/parser/ast/select/operation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def to_string(self, *args, **kwargs):
144144
alias_str = self.alias.to_string()
145145
else:
146146
alias_str = ''
147-
modifier_str = self.modifier if self.modifier else ''
147+
modifier_str = ' ' + self.modifier if self.modifier else ''
148148
return f'{fnc_str} over({partition_str} {order_str}{modifier_str}) {alias_str}'
149149

150150

0 commit comments

Comments
 (0)