Skip to content

Don't hardcode deferrable mode in Athena Spark system test - #77173

Merged
o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:ghaeli/athena-spark-system-test-follow-default
Nov 17, 2026
Merged

o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:ghaeli/athena-spark-system-test-follow-default

Conversation

@seanghaeli

@seanghaeli seanghaeli commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #75915. Same fix as #70206 made for the Glue crawler system test.

  • The Athena Spark system test had a second calculation task hard-coded to deferrable=True, and the original task was pinned to deferrable=False.
  • Forcing deferral makes the Dag hang in system-test runs with executors.
  • This restores the test as it was before Add deferrable support to AthenaSparkOperator #75915: one calculation task with deferrable unset, so it follows operators.default_deferrable like the other Amazon system tests. Both modes still get covered by flipping that setting.
  • Docs: drops the exampleinclude of the removed snippet. The "Deferrable mode" section still explains deferrable=True.

Ran the system test against AWS with default_deferrable set to true (task deferred and resumed) and false (synchronous). Both passed and cleaned up after themselves.

@seanghaeli
seanghaeli marked this pull request as ready for review November 16, 2026 19:41
@seanghaeli seanghaeli changed the title Let the Athena Spark system test follow default_deferrable Don't hardcode deferrable mode in Athena Spark system test Nov 16, 2026
@vincbeck
vincbeck enabled auto-merge (squash) November 16, 2026 21:36
The deferrable example task forced deferrable=True, so the Dag hangs
when it runs with an executor and no triggerer. Like the other Amazon
system tests, keep one calculation task and leave deferrable unset so it
follows operators.default_deferrable.
auto-merge was automatically disabled November 17, 2026 17:38

Head branch was pushed to by a user without write access

@seanghaeli
seanghaeli force-pushed the ghaeli/athena-spark-system-test-follow-default branch from bd19958 to df6e7dc Compare November 17, 2026 17:38
@o-nikolas
o-nikolas enabled auto-merge (squash) November 17, 2026 19:00
@o-nikolas
o-nikolas merged commit 6c64331 into apache:main Nov 17, 2026
76 checks passed
@o-nikolas
o-nikolas deleted the ghaeli/athena-spark-system-test-follow-default branch November 17, 2026 21:33
@shahar1 shahar1 mentioned this pull request Nov 18, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants