mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
Fix: pyodbc type not supported for -150 (#12851)
This commit is contained in:
parent
8776069940
commit
a17ac7bcbb
@ -166,7 +166,7 @@ def get_columns(
|
|||||||
identity_cols.c.is_identity,
|
identity_cols.c.is_identity,
|
||||||
identity_cols.c.seed_value,
|
identity_cols.c.seed_value,
|
||||||
identity_cols.c.increment_value,
|
identity_cols.c.increment_value,
|
||||||
extended_properties.c.value,
|
sql.cast(extended_properties.c.value, NVARCHAR(4000)).label("comment"),
|
||||||
)
|
)
|
||||||
.where(whereclause)
|
.where(whereclause)
|
||||||
.select_from(join)
|
.select_from(join)
|
||||||
@ -192,7 +192,7 @@ def get_columns(
|
|||||||
is_identity = row[identity_cols.c.is_identity]
|
is_identity = row[identity_cols.c.is_identity]
|
||||||
identity_start = row[identity_cols.c.seed_value]
|
identity_start = row[identity_cols.c.seed_value]
|
||||||
identity_increment = row[identity_cols.c.increment_value]
|
identity_increment = row[identity_cols.c.increment_value]
|
||||||
comment = row[extended_properties.c.value]
|
comment = row["comment"]
|
||||||
|
|
||||||
coltype = self.ischema_names.get(type_, None)
|
coltype = self.ischema_names.get(type_, None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user