OpenMetadata/bootstrap/sql/migrations/native/1.11.1/postgres/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
No EOL
334 B
SQL

UPDATE test_definition
SET json = jsonb_set(
json::jsonb,
'{supportedServices}',
'["Snowflake", "BigQuery", "Athena", "Redshift", "Postgres", "MySQL", "Mssql", "Oracle", "Trino", "SapHana"]'::jsonb
)
WHERE name = 'tableDiff'
AND (
json->'supportedServices' IS NULL
OR json->'supportedServices' = '[]'::jsonb
);