Skip to main content

MotherDuckDatabaseType

MotherDuck database type options.

MotherDuckDatabaseType

info

MotherDuckDatabaseType is defined beneath the following ancestor nodes in the YAML structure:

Below are the properties for the MotherDuckDatabaseType. Each property links to the specific details section further down in this page.

No properties defined.

Property Details

Connection

Data source/sink Connection.

PropertyDefaultTypeRequiredDescription
connectionOne of:
  S3Connection
  GcsConnection
  AbfsConnection
  LocalFileConnection
  SnowflakeConnection
  BigQueryConnection
  MSSQLConnection
  MySQLConnection
  OracleConnection
  PostgresConnection
  HttpConnection
  DuckDBConnection
  SFTPConnection
  DatabricksConnection
YesData system Connection.

DuckDBConnection

Connection to a DuckDB database.

PropertyDefaultTypeRequiredDescription
descriptionstring
NoBrief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
duckdbYes

DuckDBConnectionOptions

DuckDB Connection options.

PropertyDefaultTypeRequiredDescription
max_query_lengthinteger
NoMaximum combined query length permitted during query batching.
max_concurrent_queriesinteger
NoMaximum number of concurrent queries permitted.
max_combined_sql_statementsinteger
NoMaximum number of combined SQL statements permitted during query batching.
pathstring
NoPath to the DuckDB database file. Use ':memory:' for in-memory databases. This setting is ignored when DuckLake configuration is present.
memory_limitinteger
NoMemory limit to use for the DuckDB Connection.
ducklakeNoConfiguration for using DuckLake with this DuckDB Connection.
motherduckNoConfiguration for using MotherDuck with this DuckDB Connection.
schemastringNoSchema to use for the DuckDB Connection. If left empty, the Flow name will be used as the schema name at runtime
init_sqlstring
NoSQL to run when the DuckLake Connection is initialized.

MotherDuckOptions

MotherDuck configuration options.

PropertyDefaultTypeRequiredDescription
api_keystringYesMotherDuck API token for authentication. Should be a vault reference like $vaults.environment.MOTHERDUCK_API_KEY.
database_namestring
NoOptional MotherDuck database name. If not provided, __ascend_{profile_name} will be used for isolation by Profile.
database_typeMotherDuckDatabaseType
NoOptional database type for MotherDuck. 'native' (default) creates a standard MotherDuck database, 'ducklake' creates a MotherDuck-managed DuckLake database.