kacpermuda opened a new pull request, #74805: URL: https://github.com/apache/airflow/pull/74805
SQL OpenLineage extraction called `hook.get_openlineage_database_info()` inside `except AttributeError` blocks, meant to detect hooks that don't implement the method. They also swallowed `AttributeError`s raised *inside* the method (e.g. a broken optional import in `SnowflakeHook.get_uri()`), logging only at debug level. Lineage silently came out without inputs/outputs, with nothing in the task logs explaining why. Now the method is looked up with `getattr()` and called outside any `try/except`, so real errors propagate (the extractor already turns them into a warning and still emits events). Failures in SQL hook lineage are also logged at warning level instead of debug. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (Claude Code) Generated-by: Claude Code following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
