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
Describe the bug
When a field in an aspect is updated to empty, DB gets updated, but ES keeps the previous value.
For e.g. there is a field called description in an aspect for some entity. And currently it contains some value, which is present in DB as well as ES. When the description is updated to empty string. DB is updated to empty string and UI shows accordingly, but ES still holds the previous description value. Although the hasDescription field in ES gets updated to false.
To Reproduce
Steps to reproduce the behavior:
Create any entity which has a valid description.
Update / Ingest the description to be empty string.
We can check the value in DB being empty string.
But the value of description in ES is still the previous description.
Expected behavior
Value of the description should be empty as well, matching what is in DB.
Desktop (please complete the following information):
OS: MacOS 14.6.1
Browser Chrome
Datahub-Version - 0.13.3
Additional context
As per initial analysis, its found that the document is upserted. So, the previous and current document are merged, hence the description from the previous document gets retained in the process.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a field in an aspect is updated to empty, DB gets updated, but ES keeps the previous value.
For e.g. there is a field called description in an aspect for some entity. And currently it contains some value, which is present in DB as well as ES. When the description is updated to empty string. DB is updated to empty string and UI shows accordingly, but ES still holds the previous description value. Although the
hasDescription
field in ES gets updated tofalse
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Value of the description should be empty as well, matching what is in DB.
Desktop (please complete the following information):
Additional context
As per initial analysis, its found that the document is upserted. So, the previous and current document are merged, hence the description from the previous document gets retained in the process.
The text was updated successfully, but these errors were encountered: