Open big-andy-coates opened 4 years ago
If we were to make MAP
have non-null keys by default, then maps could be serialized as Avro maps, rather than arrays of key-value pairs, (which confuses a lot of people!)
Voting for the issue and interested which milestone it's gonna be targeted for ?
+1
+1
At the moment, all columns in KSQL are implicitly
NULL
able. The SQL standard allows a column to be defined asNON NULL
and this is a useful feature to ensure data integrity.KSQL should support
NON NULL
columns.It should also allow components of complex types to be non-null too, e.g. a
MAP
with non-null key or value parts, or aSTRUCT
with a mixture of nullable and non-null fields.