-
Notifications
You must be signed in to change notification settings - Fork 30
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: opinionated writes for AstraDB destination #391
base: main
Are you sure you want to change the base?
Conversation
dca109e
to
a34eb77
Compare
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.
I think you have a few things to clean up bur approving assuming you'll fix them before merge.
@@ -85,6 +86,7 @@ def test_precheck_fails_indexer(connection_config: AstraDBConnectionConfig): | |||
indexer.precheck() | |||
|
|||
|
|||
@pytest.mark.skip("Returning success") |
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.
what's up here?
keyspace=self.upload_config.keyspace, | ||
).options() | ||
if self.upload_config.collection_name: | ||
print("im here", self.upload_config.collection_name) |
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.
think you want to remove this :)
connection_config=self.connection_config, | ||
keyspace=self.upload_config.keyspace, | ||
) | ||
return collection_name in astra_db.list_collection_names( |
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.
Maybe just do a GET on the specific collection instead of listing all the collections?
No description provided.