gopidesupavan commented on code in PR #67438:
URL: https://github.com/apache/airflow/pull/67438#discussion_r3299424844
##########
providers/common/ai/src/airflow/providers/common/ai/toolsets/sql.py:
##########
@@ -236,11 +208,10 @@ def _query(self, sql: str) -> str:
rows = hook.get_records(sql)
except Exception as e:
if self._is_retryable_query_error(hook, e):
- raise ModelRetry(
+ raise ValueError(
Review Comment:
Yeah restored ModelRetry in SQLToolset._query and fixed the tests — agreed
this shouldn’t have regressed to ValueError.
Will refactor that in followup pr may be in the next one with strands
--
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]