mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
11 lines
363 B
SQL
11 lines
363 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
|
|
);
|