Adding upstream version 15.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
bb75596aa9
commit
577b79f5a7
81 changed files with 40321 additions and 37940 deletions
|
@ -153,9 +153,9 @@ def _nullifzero_to_if(args: t.List) -> exp.Expression:
|
|||
|
||||
|
||||
def _datatype_sql(self: generator.Generator, expression: exp.DataType) -> str:
|
||||
if expression.this == exp.DataType.Type.ARRAY:
|
||||
if expression.is_type("array"):
|
||||
return "ARRAY"
|
||||
elif expression.this == exp.DataType.Type.MAP:
|
||||
elif expression.is_type("map"):
|
||||
return "OBJECT"
|
||||
return self.datatype_sql(expression)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue