mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-22 13:49:27 +00:00
* Fix: Search Slowness when painless scripts aggregates for terms and classifications * Fix Sql * Add fields to security service index --------- Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
14 lines
430 B
SQL
14 lines
430 B
SQL
UPDATE test_definition
|
|
SET json = jsonb_set(
|
|
json::jsonb,
|
|
'{testPlatforms}',
|
|
REPLACE(
|
|
(json::jsonb -> 'testPlatforms')::text,
|
|
'"DBT"',
|
|
'"dbt"'
|
|
)::jsonb
|
|
)::json
|
|
WHERE json::jsonb -> 'testPlatforms' @> '"DBT"'::jsonb;
|
|
|
|
-- Delete searchSettings to force reload from packaged searchSettings.json with field-based aggregations
|
|
DELETE FROM openmetadata_settings WHERE configType='searchSettings'; |