You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Since we are using metadata ingestion from Snowflake. One issue we have is, its not able to fetch the owners from Snowflake. I looked into the logs and I found that it calls yield_table.get_owner_ref which I am guessing is used for fetching the owners.
When I checked I found this found for several sources but then I checked the common_db_service.py and database_service.py in OpenMetadata/tree/main/ingestion/src/metadata/ingestion/source/database/database_service.py which calls this method and which in turn calls get_table_owner from self.inspector.get_table_owner. Here the inspector is of type Inspector from sqlalchemy.engine and I check and I don't think sql alchemy has a get_table_owner attribute.
I might be completely wrong but just was curios to know
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Since we are using metadata ingestion from Snowflake. One issue we have is, its not able to fetch the owners from Snowflake. I looked into the logs and I found that it calls yield_table.get_owner_ref which I am guessing is used for fetching the owners.
When I checked I found this found for several sources but then I checked the common_db_service.py and database_service.py in
OpenMetadata/tree/main/ingestion/src/metadata/ingestion/source/database/database_service.py
which calls this method and which in turn callsget_table_owner
from self.inspector.get_table_owner. Here the inspector is of type Inspector from sqlalchemy.engine and I check and I don't think sql alchemy has aget_table_owner
attribute.I might be completely wrong but just was curios to know
Beta Was this translation helpful? Give feedback.
All reactions