Skip to content

Conversation

@kacpermuda
Copy link
Contributor

This PR contains a small fix, in my opinion. When unloading data to S3, one can either pass custom select_query or provide schema and table so that default query is created (SELECT * FROM {self.schema}.{self.table}). After validation to some parameters has been added in #37861, when custom query is provided together with schema and table it's being overwritten by default query. I think that custom select_query should always have precedence, when provided.


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Aug 21, 2024
…ftToS3Operator

Signed-off-by: Kacper Muda <mudakacper@gmail.com>
@vincbeck vincbeck merged commit 410b577 into apache:main Aug 21, 2024
@kacpermuda kacpermuda deleted the fix-redshift-to-s3-custom-query branch August 21, 2024 14:25
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.

3 participants