vatsrahul1001 commented on issue #47353:
URL: https://github.com/apache/airflow/issues/47353#issuecomment-2698357024
```
2025-03-04T12:07:48.663140Z] ERROR - Task failed with exception
logger="task" error_detail=[{"exc_type":"TypeError","exc_value":"get_hook() got
an unexpected keyword argument
'hook_params'","syntax_error":null,"is_cause":false,"frames":[{"filename":"/opt/airflow/task_sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":605,"name":"run"},{"filename":"/opt/airflow/task_sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":726,"name":"_execute_task"},{"filename":"/opt/airflow/airflow/models/baseoperator.py","lineno":168,"name":"wrapper"},{"filename":"/opt/airflow/providers/common/sql/src/airflow/providers/common/sql/operators/sql.py","lineno":296,"name":"execute"},{"filename":"/opt/airflow/providers/common/sql/src/airflow/providers/common/sql/operators/sql.py","lineno":195,"name":"get_db_hook"},{"filename":"/usr/local/lib/python3.9/functools.py","lineno":993,"name":"__get__"},{"filename":"/opt/airflow/providers/common/sql/src/airflow/providers/common/sql/operators/sql.py
","lineno":171,"name":"_hook"},{"filename":"/opt/airflow/providers/common/sql/src/airflow/providers/common/sql/operators/sql.py","lineno":164,"name":"get_hook"}]}]
[2025-03-04T12:07:48.663555Z] DEBUG - Sending request
json="{\"state\":\"failed\",\"end_date\":\"2025-03-04T12:07:48.663492Z\",\"type\":\"TaskState\"}\n"
logger="task"
```
--
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]