OpenMetadata/bootstrap/sql/migrations/native/1.11.1/mysql/postDataMigrationSQLScript.sql
Teddy d5c6e5b19a
ISSUE #24020: add supportedServcices for relavnt service DQ display (#24706)
* fix: add supportedServcices for relavnt service DQ display

data diff is not supported by all services. We need to only
display it on supported services

* fix: added query param and create filed
2025-12-05 15:40:33 +01:00

11 lines
362 B
SQL

UPDATE test_definition
SET json = JSON_SET(
json,
'$.supportedServices',
JSON_ARRAY('Snowflake', 'BigQuery', 'Athena', 'Redshift', 'Postgres', 'MySQL', 'Mssql', 'Oracle', 'Trino', 'SapHana')
)
WHERE name = 'tableDiff'
AND (
JSON_EXTRACT(json, '$.supportedServices') IS NULL
OR JSON_LENGTH(JSON_EXTRACT(json, '$.supportedServices')) = 0
);