Queries
Queries
yaml
type: "io.kestra.plugin.jdbc.redshift.Queries"Examples
yaml
id: redshift_queries
namespace: company.team
tasks:
- id: select
type: io.kestra.plugin.jdbc.redshift.Queries
url: jdbc:redshift://123456789.eu-central-1.redshift-serverless.amazonaws.com:5439/dev
username: "{{ secret('REDSHIFT_USERNAME') }}"
password: "{{ secret('REDSHIFT_PASSWORD') }}"
sql: select count(*) from employee; select count(*) from laptop;
fetchType: FETCH_ONE
Properties
sql *Requiredstring
url *Requiredstring
afterSQL string
fetchSize integerstring
Default
10000fetchType string
Default
NONEPossible Values
STOREFETCHFETCH_ONENONEparameters object
password string
timeZoneId string
transaction booleanstring
Default
trueusername string
Outputs
outputs array
Definitions
io.kestra.plugin.jdbc.AbstractJdbcBaseQuery-Output
rowobject
rowsarray
SubTypeobject
sizeinteger
uristring
Format
uriMetrics
fetch.size counter
Unit
rows