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(duckdb-driver): Add support for local fs duckdb database path #7799

Merged
merged 8 commits into from Feb 26, 2024

Conversation

JichaoS
Copy link
Contributor

@JichaoS JichaoS commented Feb 22, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Issue Reference this PR resolves

#7653

Description of Changes Made (if issue reference is not provided)

Creates a new env var that allows users to define a duckdb local file.

Testing coverage is on par with existing CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN

@JichaoS JichaoS requested review from a team as code owners February 22, 2024 05:29
Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 11:28am

@igorlukanin
Copy link
Member

@JichaoS Thanks for the contribution! GitHub tells this PR conflicts with the main branch. Could you please resolve that?

@JichaoS
Copy link
Contributor Author

JichaoS commented Feb 23, 2024

@JichaoS Thanks for the contribution! GitHub tells this PR conflicts with the main branch. Could you please resolve that?

Done!

Copy link

codecov bot commented Feb 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 47.95%. Comparing base (c013c91) to head (406a831).
Report is 3 commits behind head on master.

Files Patch % Lines
packages/cubejs-backend-shared/src/env.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7799       +/-   ##
===========================================
- Coverage   67.88%   47.95%   -19.94%     
===========================================
  Files         345      154      -191     
  Lines       58124    20969    -37155     
  Branches     5394     5394               
===========================================
- Hits        39459    10056    -29403     
+ Misses      17918    10166     -7752     
  Partials      747      747               
Flag Coverage Δ
cube-backend 47.95% <0.00%> (-0.01%) ⬇️
cubesql ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@paveltiunov paveltiunov changed the title Add support for local fs duckdb database path feat: Add support for local fs duckdb database path Feb 26, 2024
@paveltiunov paveltiunov changed the title feat: Add support for local fs duckdb database path feat(duckdb-driver): Add support for local fs duckdb database path Feb 26, 2024
@paveltiunov paveltiunov merged commit 77cc883 into cube-js:master Feb 26, 2024
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver:duckdb pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants