Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Track data-diff usage in MotherDuck #800

Merged
merged 14 commits into from
Dec 18, 2023
Merged

Conversation

sungchun12
Copy link
Contributor

@sungchun12 sungchun12 commented Dec 13, 2023

Add data-diff usage tracking to motherduck to understand usage trends and open up partnership opportunities.

Logic Changes

  • Updated the duckdb connection to conditionally add the data-diff version to the custom user agent if duckdb version >= 0.9.2
  • Updated duckdb dependency to be the latest major version for testing
  • Updated github actions to include a motherduck api token tied to my Datafold user within the motherduck platform: sung@datafold.com

Testing

  • Added a motherduck integration with a motherduck-specific profile
  • Replicated the same assertions to the existing basic dbt test
  • Upgraded jaffle_shop.duckdb to work with the latest duckdb version 0.9.2 and replicates the same results before this PR. It was using 0.7.1 that was causing errors when interfacing with motherduck.

@sungchun12 sungchun12 self-assigned this Dec 13, 2023
@sungchun12 sungchun12 marked this pull request as ready for review December 18, 2023 20:27
@sungchun12 sungchun12 requested a review from dlawin December 18, 2023 20:34
@sungchun12 sungchun12 merged commit 0b74046 into master Dec 18, 2023
@sungchun12 sungchun12 deleted the tracking/motherduck-user-agent branch December 18, 2023 22:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants