You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The delete query properly deletes the data, but retains the index entry for the deleted record. This causes select distinct to give inconsistent results.
delete from ds.collection where code = '123'
Now run a select distinct on the table for code
select distinct code from ds.collection
The code123 is present in the response.
However the data is actually not present, so the delete has properly executed
select * from ds.collection where code = '123`
The above statement will return 0 rows, thereby making the select distinct operation return inconsistent results.
The text was updated successfully, but these errors were encountered:
sanketsarang
changed the title
Delete dropping data by not index entry
Delete dropping data but not index entry
Aug 17, 2019
The
delete
query properly deletes the data, but retains the index entry for the deleted record. This causesselect distinct
to give inconsistent results.Now run a select distinct on the table for
code
The
code
123
is present in the response.However the data is actually not present, so the delete has properly executed
The above statement will return 0 rows, thereby making the
select distinct
operation return inconsistent results.The text was updated successfully, but these errors were encountered: