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
β¨ Destination DuckDB: Use latest DuckDB 0.9.1 libraries π¨(breaking change)π¨ #31744
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 1 Ignored Deployment
|
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,
|
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
airbyte-integrations/connectors/destination-duckdb/metadata.yaml
Outdated
Show resolved
Hide resolved
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
@alafanechere, @bnchrch - I've copied over the base image config from: Lmk if this looks okay. |
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.
The migration to the base image looks good to me! Thank you.
Please write a migration guide in docs/integrations/destinations/duckdb-migrations.md
to document how users should upgrade DuckDb.
connectorSubtype: database | ||
connectorType: destination | ||
definitionId: 94bd199c-2ff0-4aa2-b98e-17f0acb72610 | ||
dockerImageTag: 0.2.1 | ||
dockerImageTag: 0.3.0 |
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.
dockerImageTag: 0.3.0 | |
dockerImageTag: 1.0.0 |
It's a breaking change, can we bump by a major version?
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.
We spoke offline. This is community
connector and doesn't receive official support.
Also, DuckDB's own database version files are incompatible across minor versions, and the best way to respect this volatility is to keep pre-1.0 connector status until we have a handle on stability overall.
Last - there's a desire to rewrite this in Java before we give official/certified status to the connector.
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 like the only issue here is making it a major version change instead of a minor
@@ -14,6 +16,11 @@ data: | |||
oss: | |||
enabled: true | |||
releaseStage: alpha | |||
releases: | |||
breakingChanges: | |||
0.3.0: |
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.
0.3.0: | |
1.0.0: |
Just adding the major version suggestion here as well
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.
Hi, @bnchrch
https://github.com/airbytehq/airbyte/pull/31744/files#r1370836343
From my response on Augustine's comment above:
We spoke offline. This is community connector and doesn't receive official support.
Also, DuckDB's own database version files are incompatible across minor versions, and the best way to respect this volatility is to keep pre-1.0 connector status until we have a handle on stability overall.
Last - there's a desire to rewrite this in Java before we give official/certified status to the connector.
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.
Ah fair enough @aaronsteers !
I was going to dig my heels in on "no major change no breaking change" but after a discussion with @pedroslopez he pointed out weve been doing this same pattern of minor version changes can be breaking if the connector is v0
langchain is the example that came to mind
https://github.com/airbytehq/airbyte/blob/c92837c8d7e7f5f84f63547f3f98ed541fb4defb/airbyte-integrations/connectors/destination-langchain/metadata.yaml
and that seems to line up with the official interpretation of semver when the version is still 0.
TLDR: LGTM!
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
destination-duckdb test report (commit
|
Step | Result |
---|---|
Build destination-duckdb docker image for platform(s) linux/amd64 | β |
Unit tests | β |
Integration tests | β |
Acceptance tests | β |
Code format checks | β |
Validate metadata for destination-duckdb | β |
Connector version semver check | β |
Connector version increment check | β |
QA checks | β |
π View the logs here
βοΈ 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-duckdb test
pre-1.0 status is desired due to continued volatility (connector not certified)
What
Use the latest DuckDB version as of today, which is
v0.9.1
.This re-enables connectivity to MotherDuck, which now uses DuckDB
0.9.x
.How
Simple bump of the DuckDB libraries. No code changes.
Recommended reading order
π¨ User Impact π¨
The
v0.9.x
DuckDB database format is not backwards compatible with versions prior to0.9.0
.