mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-05 23:58:18 +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]]:
|
||||
# pylint: disable=protected-access
|
||||
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)
|
||||
columns = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user