Can you insert NULL into a required column?

In the iv_events table, the event_type column is defined as VARCHAR(20) NOT NULL in PostgreSQL and MySQL. In ClickHouse, it's a String column without Nullable. The query inserts an event, explicitly passing NULL for this column, then attempts to read the new row. Will both statements execute without errors? For ClickHouse, assume version 24.

Predict the resultDDL, keys, and normalizationJuniorBackendQAData Engineer
Input data · iv_events
iduser_idevent_typecreated_at
11login2026-01-31 23:59:00
21login2026-01-31 23:59:00
31view2026-02-01 00:00:00
42login2026-02-01 08:00:00
52view2026-02-01 08:05:00
62view2026-02-01 08:05:00
73login2026-02-02 10:00:00
8NULLview2026-02-03 11:00:00
91purchase2026-02-03 12:00:00
102logout2026-02-28 23:59:59

Query

INSERT INTO iv_events (id, user_id, event_type, created_at)
VALUES (11, 1, NULL, '2026-03-01 12:00:00');

SELECT id,
       event_type
FROM iv_events
WHERE id = 11
ORDER BY id