mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-13 07:56:20 +00:00
11 lines
362 B
MySQL
11 lines
362 B
MySQL
|
|
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
|
||
|
|
);
|