1
0
Fork 0

Adding upstream version 23.13.7.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 21:33:48 +01:00
parent e47608846f
commit 9d7e0ff7aa
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
38 changed files with 5529 additions and 5366 deletions

View file

@ -1042,8 +1042,8 @@ class Snowflake(Dialect):
return self.func("OBJECT_CONSTRUCT", *flatten(zip(keys, values)))
def copyparameter_sql(self, expression: exp.CopyParameter) -> str:
option = self.sql(expression, "this")
if option.upper() == "FILE_FORMAT":
option = self.sql(expression, "this").upper()
if option == "FILE_FORMAT":
values = self.expressions(expression, key="expression", flat=True, sep=" ")
return f"{option} = ({values})"