-
Notifications
You must be signed in to change notification settings - Fork 15
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
Duckdb dynamic database #448
Comments
Indeed there's something wrong in the documentation about the FYI in the meantime, we have recently fixed an old DuckDB issue: now Kestra use the latest version 1.1.3. The following flow works: id: duckdb_fil
namespace: kestra.test
tasks:
- id: db
type: io.kestra.plugin.jdbc.duckdb.Queries
url: jdbc:duckdb:/test_db/data.db # this file is mounted on my local computer
sql: |
CREATE TABLE IF NOT EXISTS t1 (i INTEGER, j INTEGER);
INSERT INTO t1 VALUES (1, 2);
SELECT * FROM t1;
store: true
- id: db2
type: io.kestra.plugin.jdbc.duckdb.Query
url: jdbc:duckdb:/test_db/data.db
sql: |
SELECT * FROM t1;
store: true @mgabelle can you check why the |
|
Just checked and the |
@mgabelle you're right it should be dynamic, but it's not
|
@mgabelle currently 0.20.10, tried it with 0.18.x and 0.19.x |
Describe the issue
I have an issue with duckdb if i use the sample from the doc I get and error
>io.kestra.plugin.jdbc.duckdb.Query["databaseFile"]: Unrecognized field "databaseFile"
If I use a variable (or input) on the url, I get
The database file path is not valid (Path to database file must be absolute)
Example task :
Environment
The text was updated successfully, but these errors were encountered: