JDarDagran commented on code in PR #32910:
URL: https://github.com/apache/airflow/pull/32910#discussion_r1304066403


##########
airflow/providers/openlineage/utils/sql.py:
##########
@@ -155,11 +155,17 @@ def create_information_schema_query(
     metadata = MetaData(sqlalchemy_engine)
     select_statements = []
     for db, schema_mapping in tables_hierarchy.items():
-        schema, table_name = information_schema_table_name.split(".")
         if db:
-            schema = f"{db}.{schema}"
+            schema = db

Review Comment:
   That is a technical solution related to how SQLAlchemy constructs table 
identifiers. The assumption is to have `database` -> `schema` -> `table_name` 
hierarchy with first two optional.
   I've added a short explanation how above solution works.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to