Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix GCSToGCSOperator behavior difference for moving single object (#40162)" #40577

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

MaksYermak
Copy link
Contributor

This reverts commit 2f2796f.
These changes broke the GCSToGCS operator and, also, operators which rely on this operator. The most use case after these changes do not work.
For example in one of our system tests for video intelligence operator we have this operation for GCSToGCS:

src_Bucket=B1, src_file=video/cat.mp4
to dst_Bucket=B2, dst_file=video.mp4

and now the result of this operation is B2/video.mp/cat.mp4, but the expected result should be B2/video.mp4.


^ 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:google Google (including GCP) related issues labels Jul 3, 2024
@MaksYermak
Copy link
Contributor Author

@eladkal FYI

@ahidalgob
Copy link
Contributor

Should we add special release notes? (the original PR had)

@ahidalgob
Copy link
Contributor

For more context, examples in the documentation and some system tests where the destination file is specified fully are broken before this revert.

@potiuk potiuk merged commit c5c50cc into apache:main Jul 3, 2024
51 checks passed
@potiuk
Copy link
Member

potiuk commented Jul 3, 2024

Should we add special release notes? (the original PR had)

Yeah. I added this PR #40579 and we shall discuss the note there (and agree on the version)

romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
project-defiant pushed a commit to opentargets/orchestration that referenced this pull request Aug 27, 2024
github-merge-queue bot pushed a commit to opentargets/orchestration that referenced this pull request Sep 2, 2024
* feat: dynamic dag extracted

* feat: finngen finemapping ingestion dag

* refactor: gwas_catalog processing dag

* chore: updated poetry.lock

* refactor: simplified structure

* chore: drop commented line

* refactor: update of apache-airflow-providers-google to stable version - see apache/airflow#40577

* fix: remove stray line

* fix: remove stray line

* chore: yaml formatter in pre-commit

* chore: format yaml files

* chore: added comments explaining pre-commit hook usage

* chore: drop docstyles

* chore: interrogate setup

* chore: interrogate setup

* chore: pydoclint and pydocstyle setup

* chore: ruff format docstrings

* fix: move config to the package

* fix: refactor manifest status collection

* chore: fixed typo

* feat: extracted gcshook as a cached property

* feat: unify camel case for type definitions

* feat: implicit batch resource creation

* feat: unify gcs pattern

* refactor: use base operator logger

* refactor: addressed comments

* fix: dynamic dag fixes

* refactor(IOManager): reduced number of n_threads

* refactor: rollback pis config blank lines

* fix: delete duplicated config

* fix: lazy storage.Client execution

* chore: update poetry lock

* chore: bump poetry version in pre-commit

* chore: force update poetry cache

---------

Co-authored-by: Szymon Szyszkowski <ss60@mib117351s.internal.sanger.ac.uk>
project-defiant added a commit to opentargets/orchestration that referenced this pull request Sep 2, 2024
* feat: dynamic dag extracted

* feat: finngen finemapping ingestion dag

* refactor: gwas_catalog processing dag

* chore: updated poetry.lock

* refactor: simplified structure

* chore: drop commented line

* refactor: update of apache-airflow-providers-google to stable version - see apache/airflow#40577

* fix: remove stray line

* fix: remove stray line

* chore: yaml formatter in pre-commit

* chore: format yaml files

* chore: added comments explaining pre-commit hook usage

* chore: drop docstyles

* chore: interrogate setup

* chore: interrogate setup

* chore: pydoclint and pydocstyle setup

* chore: ruff format docstrings

* fix: move config to the package

* fix: refactor manifest status collection

* chore: fixed typo

* feat: extracted gcshook as a cached property

* feat: unify camel case for type definitions

* feat: implicit batch resource creation

* feat: unify gcs pattern

* refactor: use base operator logger

* refactor: addressed comments

* fix: dynamic dag fixes

* refactor(IOManager): reduced number of n_threads

* refactor: rollback pis config blank lines

* fix: delete duplicated config

* fix: lazy storage.Client execution

* chore: update poetry lock

* chore: bump poetry version in pre-commit

* chore: force update poetry cache

---------

Co-authored-by: Szymon Szyszkowski <ss60@mib117351s.internal.sanger.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants