OpenMetadata/bootstrap/sql/com.mysql.cj.jdbc.Driver/v007__create_db_connection_info.sql
Teddy 4a5cb870ec
Fixes #9192 - Update ES response for DI (#9221)
* staging commit

* updated terms to french

* fix(dataInsight): updated ES response to get entityType and total non tiered entities

* fix(dataInsight): removed fields=*

* fix(dataInsight): Added entity migration

* cleaned up branch
2022-12-09 18:53:17 -08:00

15 lines
506 B
SQL

-- Remove markDeletedTablesFromFilterOnly
UPDATE ingestion_pipeline_entity
SET json = JSON_REMOVE(json ,'$.sourceConfig.config.markDeletedTablesFromFilterOnly');
UPDATE data_insight_chart
SET json = JSON_INSERT(
JSON_REMOVE(json, '$.dimensions'),
'$.dimensions',
JSON_ARRAY(
JSON_OBJECT('name', 'entityFqn', 'chartDataType', 'STRING'),
JSON_OBJECT('name', 'owner', 'chartDataType', 'STRING'),
JSON_OBJECT('name', 'entityType', 'chartDataType', 'STRING')
)
)
WHERE name = 'mostViewedEntities';