Render a DuckDB logical type as SQL type text, for example DECIMAL(10,2) or STRUCT("a" INTEGER, "b" VARCHAR[]).
DECIMAL(10,2)
STRUCT("a" INTEGER, "b" VARCHAR[])
Type aliases are ignored so the result does not depend on user-defined types being visible to the statement.
Render a DuckDB logical type as SQL type text, for example
DECIMAL(10,2)orSTRUCT("a" INTEGER, "b" VARCHAR[]).Type aliases are ignored so the result does not depend on user-defined types being visible to the statement.