-
Notifications
You must be signed in to change notification settings - Fork 207
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
Allow relative path to duckdb #1220
Comments
@ReneTC where would you like to keep yours specifically? (Good workarounds in the meantime include for example, a CI step that copies it from the current location to the root) |
Thanks @archiewood - I use evidence with meltano, so the project is running inside a meltano project. My data is outside of the meltano project. It's a good suggestion with a CI copy for now. However the database might grow really big |
Any thoughts? Is it something that you find useful? |
This is a good idea, yes. We have some upcoming changes in the Otherwise I'll leave this open to track the issue |
Just adding to this - in the mdsinabox.com project, I am using duckdb with "external materializations" which are parquet files. When I run |
Can you elbaorate matsonj? how Meltano solves the pathing issues :D? I am asking becease the Meltano utility https://hub.meltano.com/utilities/evidence/ says: So I am not sure how meltano would solve the issue. |
Sure! I’m sharing my config from https://github.com/matsonj/nba-monte-carlo
Since it remaps everything to the root and build its own environments, it handles the relative pathing by keeping everything its own instance for evidence (installed via meltano) |
@ReneTC oh I’m realizing that the documentation is wrong in meltano util! Good news, I’m one of the maintainers 😆 |
Thank you very much, I appreciate your help.
It's up to the evidence developers if this ticket should be closed or not.
The meltano tip solved my issue.
…On Mon, 23 Oct 2023, 20.30 Jacob Matson, ***@***.***> wrote:
@ReneTC <https://github.com/ReneTC> oh I’m realizing that the
documentation is wrong in meltano util! Good news, I’m one of the
maintainers 😆
—
Reply to this email directly, view it on GitHub
<#1220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSZI4NJDHOJXQRT44HUOODYA2ZSZAVCNFSM6AAAAAA5MDF6NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVG43TQMRSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We'll keep this open, I think it's not full solved. However, I want to add another workaround that can work here that I tested today. If you edit the credentials file inside However, you need to map the path relative to this For example, if you stored your duckdb inside Similarly, this is the path that will be copied when you set the environment variables also. |
This can now be configured in the connection.yaml for your DuckDB file. The filepath is relative to the directory where the connection.yaml file is stored. For example you can use something like this: connection.yaml # This file was automatically generated
name: needful_things
type: duckdb
options:
filename: ../../../../../../Users/archie/Downloads/needful_things.duckdb |
Currently the duckdb file needs to be in the same path as evidence.
Can we make it possible to point at a relative path?
The text was updated successfully, but these errors were encountered: