This table stores the parameters for each macro implementation.
| Column name | Column type |
|---|---|
macro_id |
BIGINT |
impl_id |
BIGINT |
column_id |
BIGINT |
parameter_name |
VARCHAR |
parameter_type |
VARCHAR |
default_value |
VARCHAR |
default_value_type |
VARCHAR |
macro_idrefers to amacro_idfrom theducklake_macrotable.impl_idrefers to animpl_idfrom theducklake_macro_impltable.column_idis the positional index of the parameter within the implementation.parameter_nameis the name of the parameter.parameter_typeis the DuckLake type of a scalar parameter. Set tounknownif the parameter type is not specified. Nested parameter types include their child types, e.g.,INTEGER[]orSTRUCT(i INTEGER)for theduckdbdialect.default_valueis the default value of the parameter. Set to the textNULLif no default is specified.default_value_typeis the DuckLake type of a literal default value, orexpressionfor a SQL expression. Set tounknownif no default is specified.
A NULL::DATE default is stored as the text NULL with type date. The string literal 'NULL' uses type varchar. Nested defaults and string-typed NULL defaults are stored as SQL expressions, e.g., CAST(NULL AS VARCHAR) with type expression.
Legacy list and struct parameter types without child types are loaded as untyped parameters.
© 2026 DuckDB Foundation, Amsterdam NL