Skip to content

Commit

Permalink
PR feedback 1
Browse files Browse the repository at this point in the history
Co-authored-by: Jo <[email protected]>
  • Loading branch information
geooo109 and georgesittas committed Jan 8, 2025
1 parent 36e8708 commit e1f636f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sqlglot/dialects/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,10 +1229,5 @@ def select_sql(self, expression: exp.Select) -> str:
limit = expression.args.get("limit")
offset = expression.args.get("offset")
if offset and not limit:
expression.set(
"limit",
exp.Limit(
expression=exp.Null(),
),
)
expression.limit(exp.Null(), copy=False)
return super().select_sql(expression)

0 comments on commit e1f636f

Please sign in to comment.