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
url *Requiredstring
fetchSize integerstring
Default
10000
fetchType string
Default
NONE
Possible Values
STORE
FETCH
FETCH_ONE
NONE
parameters object
password string
sql string
timeZoneId string
transaction booleanstring
Default
true
username string
Definitions
io.kestra.plugin.jdbc.AbstractJdbcBaseQuery-Output
row object
rows array
SubType object
size integer
uri string
Format
uri