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
Mayank
06/21/2022, 9:16 AM
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
Vuppala Suresh Kumar
06/23/2022, 3:31 AM
Any performance difference between two? @Mayank
m
Mayank
06/23/2022, 3:55 AM
Nothing that you would notice. But it is more about what the use case needs.
v
Vuppala Suresh Kumar
06/27/2022, 5:21 AM
Can we update to default values with mode: PARTIAL?
m
Mayank
06/27/2022, 1:38 PM
No. Partial is specifically for updating non null values
v
Vuppala Suresh Kumar
06/29/2022, 9:21 AM
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
Mayank
06/29/2022, 2:51 PM
In full mode, all columns are overwritten always. In partial mode, only non null columns are overwritten
v
Vuppala Suresh Kumar
06/30/2022, 11:14 AM
which means 2 columns values will get updated and remaining will set to null for full mode right?