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