mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-08 05:27:02 +00:00
11 lines
246 B
MySQL
11 lines
246 B
MySQL
|
|
UPDATE test_definition
|
||
|
|
SET json = JSON_SET(
|
||
|
|
json,
|
||
|
|
'$.testPlatforms',
|
||
|
|
CAST(REPLACE(
|
||
|
|
JSON_EXTRACT(json, '$.testPlatforms'),
|
||
|
|
'"DBT"',
|
||
|
|
'"dbt"'
|
||
|
|
) AS JSON)
|
||
|
|
)
|
||
|
|
WHERE JSON_CONTAINS(json, '"DBT"', '$.testPlatforms');
|