The query finished running, but the table was wrong. A single missing column broke the output and the whole pipeline stalled. Adding a new column is never just about altering a schema. It changes queries, indexes, migrations, API responses, and downstream consumers in ways that can cascade fast.
A new column in SQL starts simple. You run ALTER TABLE <name> ADD COLUMN <column_name> <data_type>. But the sharp edges appear right after. Default values can lock a table if applied to millions of rows without care. Nullable vs. non-nullable shifts can break inserts. Adding a column with a computed value can trigger full table recalc and block writes.
In PostgreSQL, adding a new nullable column is quick. Adding one with a default on a large table before Postgres 11 rewrites the whole thing. In MySQL, a new column can change the physical row format and cause a full table copy. With column stores like ClickHouse, the impact depends on merge tree configuration and storage engines. Each database has its own performance and locking characteristics.