mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-15 04:26:59 +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"},
|
"mlflow": {"mlflow-skinny~=1.26.1"},
|
||||||
"sklearn": {"scikit-learn==1.0.2"},
|
"sklearn": {"scikit-learn==1.0.2"},
|
||||||
"db2": {"ibm-db-sa==0.3.7"},
|
"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"},
|
"databricks": {"sqlalchemy-databricks==0.1.0"},
|
||||||
"singlestore": {"pymysql>=1.0.2"},
|
"singlestore": {"pymysql>=1.0.2"},
|
||||||
"azure-sso": {"msal~=1.17.0"},
|
"azure-sso": {"msal~=1.17.0"},
|
||||||
|
@ -154,13 +154,6 @@ def get_pk_constraint(
|
|||||||
return {"constrained_columns": [], "name": "undefined"}
|
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
|
@reflection.cache
|
||||||
def get_view_definition(
|
def get_view_definition(
|
||||||
self, connection, view_name, schema=None, **kw # pylint: disable=unused-argument
|
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
|
ClickHouseDialect._get_column_type = ( # pylint: disable=protected-access
|
||||||
_get_column_type
|
_get_column_type
|
||||||
)
|
)
|
||||||
ClickHouseDialect.get_table_comment = get_table_comment
|
|
||||||
RequestsTransport.execute = execute
|
RequestsTransport.execute = execute
|
||||||
ClickHouseDialect.get_view_definition = get_view_definition
|
ClickHouseDialect.get_view_definition = get_view_definition
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user