mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-28 16:45:23 +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
421 B
SQL
14 lines
421 B
SQL
UPDATE test_definition
|
|
SET json = JSON_SET(
|
|
json,
|
|
'$.testPlatforms',
|
|
CAST(REPLACE(
|
|
JSON_EXTRACT(json, '$.testPlatforms'),
|
|
'"DBT"',
|
|
'"dbt"'
|
|
) AS JSON)
|
|
)
|
|
WHERE JSON_CONTAINS(json, '"DBT"', '$.testPlatforms');
|
|
|
|
-- Delete searchSettings to force reload from packaged searchSettings.json with field-based aggregations
|
|
DELETE FROM openmetadata_settings WHERE configType='searchSettings'; |