mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-14 20:17:05 +00:00
Fix Clickhouse Comments (#9295)
This commit is contained in:
parent
a6ae9fd11a
commit
099853ab10
@ -150,7 +150,7 @@ plugins: Dict[str, Set[str]] = {
|
||||
"mlflow": {"mlflow-skinny~=1.26.1"},
|
||||
"sklearn": {"scikit-learn==1.0.2"},
|
||||
"db2": {"ibm-db-sa==0.3.7"},
|
||||
"clickhouse": {"clickhouse-driver==0.2.3", "clickhouse-sqlalchemy==0.2.0"},
|
||||
"clickhouse": {"clickhouse-driver==0.2.5", "clickhouse-sqlalchemy==0.2.3"},
|
||||
"databricks": {"sqlalchemy-databricks==0.1.0"},
|
||||
"singlestore": {"pymysql>=1.0.2"},
|
||||
"azure-sso": {"msal~=1.17.0"},
|
||||
|
@ -154,13 +154,6 @@ def get_pk_constraint(
|
||||
return {"constrained_columns": [], "name": "undefined"}
|
||||
|
||||
|
||||
@reflection.cache
|
||||
def get_table_comment(
|
||||
self, connection, table_name, schema=None, **kw # pylint: disable=unused-argument
|
||||
):
|
||||
return {"text": None}
|
||||
|
||||
|
||||
@reflection.cache
|
||||
def get_view_definition(
|
||||
self, connection, view_name, schema=None, **kw # pylint: disable=unused-argument
|
||||
@ -184,7 +177,6 @@ ClickHouseDialect.get_pk_constraint = get_pk_constraint
|
||||
ClickHouseDialect._get_column_type = ( # pylint: disable=protected-access
|
||||
_get_column_type
|
||||
)
|
||||
ClickHouseDialect.get_table_comment = get_table_comment
|
||||
RequestsTransport.execute = execute
|
||||
ClickHouseDialect.get_view_definition = get_view_definition
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user