mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-22 21:51:53 +00:00
11 lines
246 B
SQL
11 lines
246 B
SQL
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'); |