1
0
Fork 0

Adding upstream version 26.1.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 21:59:41 +01:00
parent 09521056ff
commit d908bee480
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
119 changed files with 71635 additions and 68059 deletions

View file

@ -1224,3 +1224,10 @@ class Snowflake(Dialect):
self.unsupported("DateSub cannot be transpiled if the subtracted count is unknown")
return date_delta_sql("DATEADD")(self, expression)
def select_sql(self, expression: exp.Select) -> str:
limit = expression.args.get("limit")
offset = expression.args.get("offset")
if offset and not limit:
expression.limit(exp.Null(), copy=False)
return super().select_sql(expression)