pankajastro opened a new pull request, #73273:
URL: https://github.com/apache/airflow/pull/73273
`DataSourceConfig` always inferred `storage_type` from `uri`, which defaults
to empty. `LLMSchemaCompareOperator` builds a `DataSourceConfig` with only
`conn_id` and `table_name` (no `uri`, no `format`) to introspect a plain
database connection via `DbApiHook`, and that construction failed.
**Reproduction** (local `airflow dags test` run):
- Before the fix task `plain_db_table` would fail
```python3
@task
def plain_db_table():
config = DataSourceConfig(conn_id="postgres_default",
table_name="my_table")
```
- After the fix: the same task succeeds, `storage_type` stays `None`.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Sonnet 5)
Generated-by: Claude Code (Sonnet 5) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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]