gopidesupavan commented on code in PR #63501:
URL: https://github.com/apache/airflow/pull/63501#discussion_r2934072599
##########
providers/common/ai/src/airflow/providers/common/ai/toolsets/datafusion.py:
##########
@@ -66,6 +68,13 @@
"required": ["sql"],
}
+# DataFusion python bindings don't expose any native exception types, it uses
rust exceptions.
+# So we have to rely on error message parsing with regex.
+_RETRYABLE_QUERY_ERROR_PATTERNS = (
+ re.compile(r"""column\s+['"][^'"]+['"]\s+not\s+found""", re.IGNORECASE),
Review Comment:
yeah fine :) updated
--
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]