This is an automated email from the ASF dual-hosted git repository.
mobuchowski pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new ff2575a056e Use the Trino connection schema for OpenLineage table
names (#77345)
ff2575a056e is described below
commit ff2575a056ed084a1aa74207f51f10bbdbf61095
Author: Devamm Patel <[email protected]>
AuthorDate: Thu Nov 26 09:56:10 2026 +0000
Use the Trino connection schema for OpenLineage table names (#77345)
TrinoHook connects with the connection's schema as the session schema,
so Trino resolves unqualified table names against it. The OpenLineage
default schema did not follow that: it returned
trino.constants.DEFAULT_SCHEMA, which is None. For a query like
"SELECT name FROM customer", the information_schema lookup then matched
the table in every schema of the catalog and lineage could list tables
the query never read. If that lookup failed, dataset names came out as
"<catalog>.None.<table>".