mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +00:00

* refactor: entityFQN as ListFilter condition * feat: implement resolution entity timeseries * fix: rename to testCaseResolutionStatus * ref: extracted ES query builder into private method * ref: extract OS query builder in its own method * ref: remove ingestion logic for test case resolution * fix: reorganize json schemas to fix circular import in Python * ref: object names in typescript code * feat: added indexing of test case resolution * feat: added test case resolution sample data * fix: test case resolution api logic * fix: audit logger for entityTimeSeriesInterface * fix: DDL generation * style: python linting * fix: skip UI test case resolution tests * fix: remove extension field * fix: renamed testCaseFailureStatus to testCaseResolutionStatus * fix: remove reviewer * fix: rename sequenceId to stateId * fix: re adjust search weights * fix: removed InReview status * style: ran python linting
34 lines
1.5 KiB
SQL
34 lines
1.5 KiB
SQL
-- Data quality failure status extension time series
|
|
CREATE TABLE test_case_resolution_status_time_series (
|
|
id varchar(36) GENERATED ALWAYS AS (json_unquote(json_extract(json,'$.id'))) VIRTUAL NOT NULL,
|
|
stateId varchar(36) GENERATED ALWAYS AS (json_unquote(json_extract(json,'$.stateId'))) VIRTUAL NOT NULL,
|
|
assignee varchar(256) GENERATED ALWAYS AS (json_unquote(json_extract(json,'$.testCaseResolutionStatusDetails.assignee.name'))) VIRTUAL NULL,
|
|
timestamp bigint unsigned GENERATED ALWAYS AS (json_unquote(json_extract(json,'$.timestamp'))) VIRTUAL NOT NULL,
|
|
testCaseResolutionStatusType varchar(36) GENERATED ALWAYS AS (json_unquote(json_extract(json,'$.testCaseResolutionStatusType'))) VIRTUAL NOT NULL,
|
|
jsonSchema varchar(256) NOT NULL,
|
|
json json NOT NULL,
|
|
entityFQNHash varchar(768) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
|
|
CONSTRAINT test_case_resolution_status_unique_constraint UNIQUE (id,timestamp,entityFQNHash),
|
|
INDEX (id),
|
|
INDEX(testCaseResolutionStatusType),
|
|
INDEX(id, testCaseResolutionStatusType)
|
|
|
|
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
-- DataInsightsApplication should not allow configuration
|
|
update apps_marketplace
|
|
set json = JSON_INSERT(
|
|
JSON_REMOVE(json, '$.allowConfiguration'),
|
|
'$.allowConfiguration',
|
|
false
|
|
)
|
|
where name = 'DataInsightsApplication';
|
|
|
|
update installed_apps
|
|
set json = JSON_INSERT(
|
|
JSON_REMOVE(json, '$.allowConfiguration'),
|
|
'$.allowConfiguration',
|
|
false
|
|
)
|
|
where name = 'DataInsightsApplication';
|