mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-07 16:48:02 +00:00
Fix table name with underscore (#10980)
This commit is contained in:
parent
5563935fbf
commit
02a52b3ddf
@ -103,7 +103,7 @@ def _get_columns(
|
|||||||
) -> List[Dict[str, Any]]:
|
) -> List[Dict[str, Any]]:
|
||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
schema = schema or self._get_default_schema_name(connection)
|
schema = schema or self._get_default_schema_name(connection)
|
||||||
query = f"SHOW COLUMNS FROM {schema}.{table_name}"
|
query = f'SHOW COLUMNS FROM {schema}."{table_name}"'
|
||||||
|
|
||||||
res = connection.execute(sql.text(query), schema=schema, table=table_name)
|
res = connection.execute(sql.text(query), schema=schema, table=table_name)
|
||||||
columns = []
|
columns = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user