mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-05 16:19:35 +00:00

* Added Test Case for Matching Enum 1. Implemented the test case using the `matchEnum` parameter. 2. Added integration tests. 3. Added migrations. * fix tests * fixed tests * format * fixed tests * clear search cache before running ingestion * format * changed scopt of aws fixture * moved migrations to 1.5.0
12 lines
473 B
SQL
12 lines
473 B
SQL
-- 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;
|
|
|