OpenMetadata
OpenMetadata copied to clipboard
The Metadata versioning is not as expected when the order of the columns in the DDL is different
Affected module Metadata versioning
Describe the bug Dropping the table and then recreating it may lead to column description errors if the order of the columns in the DDL is different between the first and second times.
To Reproduce
The first time's DDL
Metadata version 0.1
The second time's DDL
Metadata version 0.2
Expected behavior Expecting version 0.2 not to exist, as the DDL is the same, only the order is different.
Version:
- OpenMetadata version: 1.2.3
- OpenMetadata Ingestion package version: openmetadata-ingestion[docker]==1.2.3
Additional context
Then I used this API to get some details
http://hostname:8585/api/v1/tables/id/versions/0.2
In the 'changeDescription' function, 'oldValue' and 'newValue' are reversed.
@mohityadav766 is this still an issue?