Open kartikey-visa opened 1 month ago
Thanks for reporting the issue. It sounds like we are not properly cleaning up once a column is removed from SchemaMetadata.
We are processing this internally, but as of today this is not an immediate priority.
In terms of the solution: The best way to address would be using a MetadataChangeProposal side effect to update the editableSchemaMetadata aspect when the schemaMetadata aspect changes.
Describe the bug On ingestion when schemaMetadata of a dataset is refreshed like removal of columns, the same doesn't get reflected in editableSchemaMetadata and the linkings to the removed columns still exist in editableSchemaMetadata
To Reproduce Steps to reproduce the behaviour:
Expected behaviour When the schemaMetadata of a dataset is updated (removal of columns), it should also update editableSchemaMetadata as part of its side effect.
Additional context This problem is bound to occur in all the editable aspects of datahub.