mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-30 00:48:52 +00:00
MINOR: Fix missing attribute get_table_owner (#16214)
This commit is contained in:
parent
4d75ce03bd
commit
96668c881d
@ -521,7 +521,9 @@ class DatabaseServiceSource(
|
||||
Method to process the table owners
|
||||
"""
|
||||
try:
|
||||
if self.source_config.includeOwners:
|
||||
if self.source_config.includeOwners and hasattr(
|
||||
self.inspector, "get_table_owner"
|
||||
):
|
||||
owner_name = self.inspector.get_table_owner(
|
||||
connection=self.connection, # pylint: disable=no-member.fetchall()
|
||||
table_name=table_name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user