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

feat: opinionated writes for AstraDB destination #391

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

Conversation

shreyanid
Copy link
Contributor

No description provided.

Copy link
Contributor

@vangheem vangheem left a 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")
Copy link
Contributor

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)
Copy link
Contributor

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(
Copy link
Contributor

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?

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.

2 participants