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

fixes copy_s3 by using generic GCS function #976

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

willyraedy
Copy link
Contributor

During the migration, we generalized a function to use the Transfer Service to copy file(s) from an arbitrary bucket rather than having bespoke functions for S3, GCS etc. However, we missed one reference to the old file.

Austin this should get you started. Could stand some more manual testing and we should add a unit test here obviously. I can get to that probably post the Feb 5th release of BQ to the rest of the members but wanted to get you what I had.

Copy link
Contributor

@elyse-weiss elyse-weiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shaunagm
Copy link
Collaborator

shaunagm commented Feb 6, 2024

Looks like there's a test failure here

Copy link
Collaborator

@shaunagm shaunagm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just changing the review status to 'request changes' instead of 'approved' due to the test failure

@bmos bmos mentioned this pull request Mar 31, 2024
* fix AssertionError: Expected 'copy_s3_to_gcs' to be called once. Called 0 times.

the test was checking for the method to have been called, but the previous commit changed the call to another method.

* Bump Multiple Docs Deps Around Sphinx (#975)

* Bump multiple docs deps

* Downgrade myst-parser

---------

Co-authored-by: Soren Spicknall <[email protected]>
@shaunagm
Copy link
Collaborator

shaunagm commented Apr 4, 2024

@bmos thanks for your help with #1019 but it seems the tests are still failing

@shaunagm
Copy link
Collaborator

Thanks to @bmos the tests are now passing. Is this otherwise ready to merge? @austinweisgrau it seems like you have more context than me, if you can give it the thumbs up I will merge it.

@shaunagm
Copy link
Collaborator

@willyraedy @austinweisgrau what's the status of this PR? The tests are passing now, but it's not clear whether this is still needed. Happy to help get it over the line if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants