You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[amazon] Enhance DynamoDBHook with full CRUD methods (get_item, put_item, update_item, delete_item, query) #69050
DynamoDBHook currently only exposes write_batch_data() and get_import_status(). There are no methods for the most common single-item operations: get, put, update, delete, and query. Every DAG that needs basic DynamoDB CRUD must implement its own boto3 wrapper outside the hook.
Use case/motivation
A common Airflow pattern is using DynamoDB as a lightweight job metadata store — writing job state on start, polling a status field for human approval, updating on completion. Today none of this can go through DynamoDBHook. DynamoDBValueSensor works around the gap by calling self.hook.conn.Table(...).get_item() directly, bypassing the
hook layer entirely.
The goal is a hook that covers the full single-item CRUD surface (get_item, put_item, update_item, delete_item, query) using the boto3 resource API — plain Python dicts, no typed {"S": "value"} format — so DAG authors get consistent retry config, error handling, and logging without reimplementing it per project.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Activity
boring-cyborg commentedon Jun 26, 2026
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
feat(amazon): add CRUD methods to DynamoDBHook
feat(amazon): add CRUD methods to DynamoDBHook (#69142)