MINOR - delete mysql ES pipelines (#15868)

This commit is contained in:
Pere Miquel Brull 2024-04-11 16:37:49 +02:00 committed by GitHub
parent ed7fa24c39
commit 6ed319c2dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,3 +72,7 @@ ALTER TABLE suggestions ADD INDEX index_suggestions_status(status);
UPDATE dashboard_data_model_entity
SET json = JSON_SET(json, '$.dataModelType', 'QlikDataModel')
WHERE JSON_EXTRACT(json, '$.dataModelType') in ('QlikSenseDataModel', 'QlikCloudDataModel');
-- clean ES pipelines
DELETE FROM ingestion_pipeline_entity
WHERE LOWER(JSON_EXTRACT(json, '$.pipelineType')) = 'elasticsearchreindex';