-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Pinecone: Namespace and field remapping support #31373
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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,
|
…ithub.com:airbytehq/airbyte into flash1293/allow-openai-compatible-embedding-modes
… flash1293/pinecone-namespace-support-2
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ❌ |
Code format checks | ❌ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ❌ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
…namespace-support-2
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ❌ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ❌ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
source-paypal-transaction test report (commit
|
Step | Result |
---|---|
Build source-paypal-transaction docker image for platform(s) linux/x86_64 | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for source-paypal-transaction | ✅ |
Connector version semver 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=source-paypal-transaction test
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
source-paypal-transaction test report (commit
|
Step | Result |
---|---|
Build source-paypal-transaction docker image for platform(s) linux/x86_64 | ✅ |
Acceptance tests | ✅ |
Check our base image is used | ✅ |
Code format checks | ✅ |
Validate metadata for source-paypal-transaction | ✅ |
Connector version semver 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=source-paypal-transaction test
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Check our base image is used | ✅ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
@@ -175,7 +184,7 @@ def generate_catalog(): | |||
def test_pinecone_pre_sync(mock_describe_index): | |||
indexer = create_pinecone_indexer() | |||
indexer.pre_sync(generate_catalog()) | |||
indexer.pinecone_index.delete.assert_called_with(filter={"_ab_stream": "example_stream2"}) | |||
indexer.pinecone_index.delete.assert_called_with(filter={"_ab_stream": "ns2_example_stream2"}, namespace="ns2") |
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.
Just to double check - do you think think we should list this as a breaking change?
Namely, does the namespace come through from the source by default, and would this change the destination index name? Or is the namespace purely opt-in, so we can assume that wherever it was not handled previously, this is 'fixing' the prior omitted prefix?
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.
It's not a breaking change because the namespace is opt-in (can be configured on the connection level) - it changes here because I added a namespace to the 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.
Looks good. 👍
One question added inline.
@flash1293 - Just to confirm one more thing. This PR is labeled as adding field remapping support but the diff only shows the addition of spec fields in the integration tests folder. The diff doesn't surface any other code for the field remapping. Do I understand correctly the field rename/remapping feature landed in a prior PR, or is there another reason I'm not seeing those changes? |
The changes are encapsulated in the CDK, so they get added via the update https://github.com/airbytehq/airbyte/pull/31373/files#diff-637a815d4e2b5d268bd8b9307fd775a0be36aff5a3b4f806bec36b0d672d694aL9 (you are seeing the spec changes because there is an integration test that validates the spec emitted from the connector) |
…namespace-support-2
destination-pinecone test report (commit
|
Step | Result |
---|---|
Build destination-pinecone docker image for platform(s) linux/amd64 | ✅ |
Unit tests | ✅ |
Integration tests | ✅ |
Acceptance tests | ✅ |
Check our base image is used | ✅ |
Code format checks | ✅ |
Validate metadata for destination-pinecone | ✅ |
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-pinecone test
What
Fixes #31550
Fixes #30574
How
This PR updates the CDK which adds field mapping transformations
and also adds namespace support (fixing the existing bug with vectors not being cleaned out correctly if a namespace is set).
Namespaces are now regularly supported - the configuration made on the connection level will be respected in Pinecone, defaulting to no namespace set.