Skip to content

Conversation

@mfjackson
Copy link
Contributor

@mfjackson mfjackson commented Oct 22, 2022

I recently noticed that the S3 bucket parameter for the DynamoDBToS3Operator is included in the template fields, but the S3 prefix is not. This PR adds the latter to the template fields.

Adding templating to the prefix is especially useful for S3 objects that have date-delimited prefixes. Prefixes are templated in many other operators across AWS and GCP, so I figured they should also be templated here.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@mfjackson mfjackson requested a review from eladkal as a code owner October 22, 2022 22:18
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Oct 22, 2022
@uranusjr uranusjr merged commit 6a1a6f7 into apache:main Oct 26, 2022
@mfjackson mfjackson deleted the dynamo-s3-prefix-template branch November 9, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants