forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply "unify bucket and key" before "provide bucket" (apache#28710)
If we unify first, then we (desirably) get the bucket from the key. If we provide bucket first, something undesirable happens. The bucket from the connection is used, which means we don't respect the full key provided. Further, the full key is not made relative, which would cause the actual request to fail. For this reason we want to put unify first. Because in the case where the outcome is different, the previously the request would fail, this should not pose any backcompat concerns. Co-authored-by: Felix Uellendall <[email protected]>
- Loading branch information
Showing
4 changed files
with
116 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.