Skip to content

Add ModelRetry handling to DataFusionToolset#63501

Merged
gopidesupavan merged 2 commits intoapache:mainfrom
gopidesupavan:add-model-retry-mechanism-to-datafusiontoolset
Mar 14, 2026
Merged

Add ModelRetry handling to DataFusionToolset#63501
gopidesupavan merged 2 commits intoapache:mainfrom
gopidesupavan:add-model-retry-mechanism-to-datafusiontoolset

Conversation

@gopidesupavan
Copy link
Member

followup: #63358

Add ModelRetry handling to DataFusionToolset for retryable query failures caused by missing columns or missing tables.

detect retryable DataFusion query errors by inspecting QueryExecutionException messages, QueryExecutionException is our own builtin exception wraps in DataFusionEngine class. DataFusion python bindings doesn't support any native exceptions, it uses rust . so we had to realy on the regex patter for now.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@gopidesupavan gopidesupavan force-pushed the add-model-retry-mechanism-to-datafusiontoolset branch from 83cbdc1 to 82847cf Compare March 13, 2026 12:28
Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — nice addition to retry on common query errors. A few minor suggestions below.

@gopidesupavan gopidesupavan merged commit 356961f into apache:main Mar 14, 2026
89 checks passed
@gopidesupavan gopidesupavan deleted the add-model-retry-mechanism-to-datafusiontoolset branch March 14, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants