Open anna-geller opened 7 months ago
adding another example raised by @Ben8t -- this should work out of the box without having to use any extra tasks or {{workingDir}}
expression:
id: train_model
namespace: kestra.weather.dev.ml
tasks:
- id: get_data
type: io.kestra.plugin.gcp.gcs.Downloads
from: "gs://weather-kestra/data/"
action: NONE
listingType: RECURSIVE
serviceAccount: "{{ secret('GCP_SA') }}"
- id: query
type: io.kestra.plugin.jdbc.duckdb.Query
inputFiles: "{{ outputs.get_data.outputFiles }}"
sql: |
SELECT * FROM read_csv_auto("*.csv")
store: true
Feature description
See an example:
Ideally, the same should work by using: