Skip to content

Commit

Permalink
fix window function
Browse files Browse the repository at this point in the history
  • Loading branch information
ea-rus committed Nov 11, 2024
1 parent 5e594fb commit fce61dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mindsdb_sql/parser/ast/select/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def to_string(self, *args, **kwargs):
alias_str = self.alias.to_string()
else:
alias_str = ''
modifier_str = self.modifier if self.modifier else ''
modifier_str = ' ' + self.modifier if self.modifier else ''
return f'{fnc_str} over({partition_str} {order_str}{modifier_str}) {alias_str}'


Expand Down

0 comments on commit fce61dc

Please sign in to comment.