mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-08 01:29:37 +00:00

* feat: indexed test case results * feat: added indexation logic for test case results * style: ran java linting * fix: IDE warnigns * chore: added test case results migration * style: ran java linting * fix: postgres migration column json ref * empty commit to trigger queued * fix: added index on id field
9 lines
338 B
SQL
9 lines
338 B
SQL
-- Add FQN and UUID to data_quality_data_time_series records
|
|
UPDATE data_quality_data_time_series dqdts
|
|
SET json = jsonb_set(
|
|
jsonb_set(dqdts.json::jsonb, '{testCaseFQN}', tc.json->'fullyQualifiedName'),
|
|
'{id}', to_jsonb(gen_random_uuid())
|
|
)
|
|
FROM test_case tc
|
|
WHERE dqdts.entityfqnHash = tc.fqnHash;
|