Adding upstream version 26.1.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
09521056ff
commit
d908bee480
119 changed files with 71635 additions and 68059 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue