Before writing a CREATE DATABASE statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested — do not bloat the DDL with unnecessary clauses.
- Never use
CREATE OR REPLACE— always useCREATE DATABASE IF NOT EXISTS. - If the request implies Iceberg tables, include the relevant Iceberg parameters (EXTERNAL_VOLUME, CATALOG, etc.).
- If the request implies cloning or replication, use the appropriate syntax variant from the references.