MotherDuck - Execute Query
Overviewβ
Quickly execute a SQL query against MotherDuck databases. This blueprint is intended for DDL queries (i.e. CREATE, ALTER, DROP) as the results are not returned to Shipyard
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Access Token | MOTHERDUCK_TOKEN | Password | β | - | - | The API token for programmatic access to MotherDuck |
Query | MOTHERDUCK_QUERY | Alphanumeric | β | - | - | The SQL query to execute against MotherDuck |
Database | MOTHERDUCK_DATABASE | Alphanumeric | β | - | - | The optional database to connect to |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: MotherDuck - Execute Query
inputs:
MOTHERDUCK_TOKEN: null ## REQUIRED
MOTHERDUCK_QUERY: null ## REQUIRED
MOTHERDUCK_DATABASE: null
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '200'
- '221'
- '249'