Skip to main content

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​

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenMOTHERDUCK_TOKENPasswordβœ…--The API token for programmatic access to MotherDuck
QueryMOTHERDUCK_QUERYAlphanumericβœ…--The SQL query to execute against MotherDuck
DatabaseMOTHERDUCK_DATABASEAlphanumericβž–--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'