mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-01 09:57:19 +00:00
* 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
11 lines
362 B
SQL
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
|
|
); |