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
🚨 Weaviate destination: Add embedding capabilities, overwrite and dedup support, API key auth mode and available on Airbyte Cloud #30151
Conversation
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
…byte into flash1293/weaviate-rewrite
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ❌ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
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.
Nice work on this - it's a significant rewrite.
I did a full readthrough of the code and I don't see any major issues. I added some notes/suggestions inline for your review. 👍
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.
Should this logic be moved to a post-build shell script? I heard Dockerfiles are on their way out.
(Just a question for consideration; I wouldn't block on this.)
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.
To my knowledge this new Dockerfile is closer to the "default logic", so I expect it to not cause any problems.
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
…byte into flash1293/weaviate-rewrite
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ❌ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
destination-weaviate test report (commit
|
Step | Result |
---|---|
Connector package install | ✅ |
Build destination-weaviate docker image for platform linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate airbyte-integrations/connectors/destination-weaviate/metadata.yaml | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=destination-weaviate test
…up support, API key auth mode and available on Airbyte Cloud (#30151) Co-authored-by: flash1293 <flash1293@users.noreply.github.com> Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
…up support, API key auth mode and available on Airbyte Cloud (#30151) Co-authored-by: flash1293 <flash1293@users.noreply.github.com> Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
What
Fixes #29663 and brings Weaviate destination to Airbyte Cloud.
By aligning the Weaviate destination with other vector db destinations.
How
Restructure the destination based on Pinecone / Milvus:
Reading order:
config.py
destination.py
indexer.py
integration_test.py
Special cases:
_ab_stream
and_ab_record_id
are queried to delete existing data in the class, but this only works if the fields exist already - as they will only be created after data gets loaded the first time, the connector checks whether they exist and skip the deletion step if they don't exist.🚨 User Impact 🚨
Several breaking changes are made in this PR - check out
weaviate_migrations.md
for the details: https://github.com/airbytehq/airbyte/pull/30151/files#diff-6ce12b19886f87d02ff8a5b2141ca99fbfd0284ee8a857a833c6d5bb15e85e14