Snowflake schema creation fails with "undefined" error.
Cause:
The error occurs due to a behavior in Snowflake's default PDO/ODBC driver. Unlike other databases, the Snowflake ODBC driver executes SQL statements immediately — even during the prepare phase — instead of using the standard flow: