Hi, When I'm trying to update the values with null...
# general
v
Hi, When I'm trying to update the values with null in the table via API request body attribute, it is not reflecting in Pinot DB eg:{ "xyz": null } What is the difference between mode FULL and PARTIAL? ------------------------ "upsertConfig": { "mode": "*FULL*", ------------------------ "upsertConfig": { "mode": "*PARTIAL*",
m
In full mode, the new row will completely overwrite the existing one. In partial, only the non-null values from the new one will overwrite the old one
v
Any performance difference between two? @Mayank
m
Nothing that you would notice. But it is more about what the use case needs.
v
Can we update to default values with mode: PARTIAL?
m
No. Partial is specifically for updating non null values
v
Let's say we have inserted 10 column values and we are updated 2 column values to null using full mode, Will the remaining column values(existed values) changed to null?
m
In full mode, all columns are overwritten always. In partial mode, only non null columns are overwritten
v
which means 2 columns values will get updated and remaining will set to null for full mode right?