Hi folks, for a Partial Upsert table with a boolea...
# general
a
Hi folks, for a Partial Upsert table with a boolean field, is it possible to set a non-null boolean column back to null for a given primary key?
m
you want to set the primary key to null? I haven’t tried it, but I’d be surprised if that’d work
a
Not the primary key.. any column other than the primary key
Say we have this data before:
Copy code
pkey|is_online|user_uuid
1234|false|user-1
We'd want this, so that a query that does
is_online IS NULL
works correctly:
Copy code
pkey|is_online|user_uuid
1234|null|user-1
My understanding is that this feature is not there because we ignore null events in Partial Upserts, but I wanted to check if any one else is also thinking about it