create temporary table str_nullable ( a Nullable(String), b String);
insert into str_nullable format JSONEachRow {"a":null}
Ok.
1 rows in set. Elapsed: 0.002 sec.
SELECT * FROM str_nullable
┌─a────┬─b─┐
│ ᴺᵁᴸᴸ │ │
└──────┴───┘
1 rows in set. Elapsed: 0.001 sec.
insert into str_nullable format JSONEachRow {"b":null}
Exception on client:
Code: 26. DB::Exception: Cannot parse JSON string: expected opening quote: (while read the value of key b): (at row 1)