Skip to content

Add S3TablesDeleteTableOperator#66019

Merged
vincbeck merged 1 commit intoapache:mainfrom
john-jac:add-s3tables-delete-table
Apr 29, 2026
Merged

Add S3TablesDeleteTableOperator#66019
vincbeck merged 1 commit intoapache:mainfrom
john-jac:add-s3tables-delete-table

Conversation

@john-jac
Copy link
Copy Markdown
Contributor

What

Add a delete operator to complement the merged S3TablesCreateTableOperator (#65816).

How

  • New S3TablesDeleteTableOperator using AwsBaseOperator[AwsBaseHook] pattern
  • Supports optional version_token for optimistic concurrency control
  • Uses prune_dict and aws_template_fields patterns
  • System test updated to use the operator instead of a raw @task wrapper

Files (4 modified)

  • operators/s3tables.py — added S3TablesDeleteTableOperator
  • test_s3tables.py — added 3 delete tests
  • example_s3tables.py — replaced @task delete_table with operator
  • s3tables/s3tables.rst — added delete section

Testing

  • Unit tests: 6 passed (3 create + 3 delete)
  • mypy: no issues
  • Static checks: 43 passed, 0 PR-related failures

Comment thread providers/amazon/docs/operators/s3_tables.rst
@john-jac john-jac force-pushed the add-s3tables-delete-table branch 3 times, most recently from bed6d9b to 8863096 Compare April 28, 2026 17:06
Comment thread providers/amazon/docs/operators/index.rst
@john-jac john-jac force-pushed the add-s3tables-delete-table branch from 8863096 to f5f8ab2 Compare April 28, 2026 17:48
- New operator to delete tables from S3 Tables namespaces
- Supports optional version_token for optimistic concurrency
- Uses prune_dict and aws_template_fields patterns
- System test updated to use operator instead of raw @task
- Unit tests and docs included
@john-jac john-jac force-pushed the add-s3tables-delete-table branch from f5f8ab2 to adfc3d2 Compare April 28, 2026 17:53
@vincbeck vincbeck merged commit 9354d1d into apache:main Apr 29, 2026
94 checks passed
seruman pushed a commit to seruman/airflow that referenced this pull request Apr 30, 2026
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.

2 participants