generated from kestra-io/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 6
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
dbt cli snapshot plugin fails with UnsupportedOperationException #178
Labels
Comments
Still investigating, but I'm not able to reproduce with this flow on our develop version: id: dbt_snapshot
namespace: company.team
tasks:
- id: working_directory
type: io.kestra.plugin.core.flow.WorkingDirectory
tasks:
- id: clone_repository
type: io.kestra.plugin.git.Clone
url: https://github.com/kestra-io/dbt-demo
branch: main
- id: dbt_snapshot
type: io.kestra.plugin.dbt.cli.Snapshot
taskRunner:
type: io.kestra.plugin.scripts.runner.docker.Docker
dbtPath: /usr/local/bin/dbt
containerImage: ghcr.io/kestra-io/dbt-duckdb
profiles: |
jaffle_shop:
outputs:
dev:
type: duckdb
path: ':memory:'
extensions:
- parquet
target: dev |
This works though (using dbt cli task): id: dbt_snapshot
namespace: company.team
tasks:
- id: dbt
type: io.kestra.plugin.core.flow.WorkingDirectory
tasks:
- id: cloneRepository
type: io.kestra.plugin.git.Clone
url: https://github.com/kestra-io/dbt-example
branch: main
- id: dbt-build
type: io.kestra.plugin.dbt.cli.DbtCLI
containerImage: ghcr.io/kestra-io/dbt-duckdb:latest
taskRunner:
type: io.kestra.plugin.scripts.runner.docker.Docker
commands:
- dbt snapshot
profiles: |
my_dbt_project:
outputs:
dev:
type: duckdb
path: ":memory:"
target: dev so it seems an issue related to wrapper tasks of dbt (Run, Build, Snapshot, etc.) |
Yes, I can confirm switching to DbtCLI works for me too. Thanks so much for the work around @Ben8t, really appreciate you jumping on it so quickly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the issue
Since the latest update to 0.21.4 a task to clone a repo from Github and then run the code in a Docker runner immediately fails with the error: java.lang.UnsupportedOperationException.
Job:
finalSnapshot_dbt_snapshot log:
Environment
The text was updated successfully, but these errors were encountered: