Queries ​Queries

yaml
type: "io.kestra.plugin.jdbc.duckdb.queries"
yaml
id: queries_duckdb
namespace: company.team

tasks:
  - id: http_download
    type: io.kestra.plugin.core.http.Download
    uri: "https://huggingface.co/datasets/kestra/datasets/raw/main/csv/orders.csv"

  - id: queries
    type: io.kestra.plugin.jdbc.duckdb.Queries
    url: 'jdbc:duckdb:'
    timeZoneId: Europe/Paris
    sql: |-
      CREATE TABLE new_tbl AS SELECT * FROM read_csv_auto('in.csv', header=True);
      SELECT count(customer_name) FROM new_tbl;
      SELECT customer_name FROM new_tbl;
    inputFiles:
      in.csv: "{{ outputs.http_download.uri }}"
Properties
Default 10000
Default NONE
Possible Values
STOREFETCHFETCH_ONENONE
SubType string
Default false
SubType string
Default true
Default jdbc:duckdb:
Format uri
SubType string
SubType object
Format uri