-
Notifications
You must be signed in to change notification settings - Fork 58
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
feat: add cloud workflow for exporting vector data from Bigtable to Vertex Vector Search #930
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
) | ||
|
||
# Make the request | ||
operation = workflow_client.delete_workflow(request=request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put this in a try/finally block? I want to make sure it is being cleaned up properly, even if it exits early
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
} | ||
) | ||
|
||
logger.info("Created {} table on instance {}.".format(table_name, instance_id)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the table being cleaned up properly on completion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, everywhere this function is called it is followed by cleanup_bigtable_resources. Added try\finally in the one place it was missing, to ensure it happens.
I'm not sure this is the right place for this kind of content. Usually, the I'd probably suggest moving the contents of this README to a page on the docsite, pulling in some snippets like this one to show how to interact with it using Python, and linking to that page in the README here. But let me know if you've already considered that |
Merged in GoogleCloudPlatform/workflows-demos#114 |
…x Vector Search
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
This is a Bigtable version of https://github.com/cloudspannerecosystem/spanner-ai. Most of the work was copy pasting the Spanner code and adjusting it for Bigtable.
Fixes #<issue_number_goes_here> 🦕