open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.17k stars 981 forks source link

"Schema Definition" does not show correctly #17287

Open baohan1999 opened 1 month ago

baohan1999 commented 1 month ago

Affected module It impacts Openmetadata UI Describe the bug In the single pane view of table data asset, the schema definition tab shows correctly the DDL script, however when clicking another tab and back to schema definition tab, the DDL script is shown not correctly anymore. Please see the picture below for more information.

To Reproduce This is when clicking another tab and back to schema definition tab. image (38)

Expected behavior I expect the DDL will be shown the same, in a correct way in any cases of change.

Version: OpenMetadata version: 1.4.4 OpenMetadata Ingestion package version: 1.4.4.2

baohan1999 commented 1 month ago

cc @harshach @ayush-shah

KsM00000 commented 3 weeks ago

The same problem with procedure's code (example from sandbox). image