mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
12 lines
473 B
MySQL
12 lines
473 B
MySQL
|
|
-- matchEnum Test Definition Parameter for columnValuesToBeInSet
|
||
|
|
UPDATE test_definition
|
||
|
|
set json = JSON_MERGE_PRESERVE(
|
||
|
|
json,
|
||
|
|
'{"parameterDefinition": ['
|
||
|
|
'{"name": "matchEnum", "displayName": "Match enum", "description": "If enabled, validate that each value independently matches the enum.", "dataType": "BOOLEAN", "required": false, "optionValues": []}'
|
||
|
|
']}'
|
||
|
|
)
|
||
|
|
WHERE name = 'columnValuesToBeInSet'
|
||
|
|
AND JSON_LENGTH(json, '$.parameterDefinition') < 2;
|
||
|
|
|