[Fix] Migrate Ingestion pipeline for Data Insights to be of user provider type (#14942)

* Data Insight Report Link Fix

* Make the Data Insights Pipeline as User
This commit is contained in:
Mohit Yadav 2024-01-30 13:09:44 +05:30 committed by GitHub
parent 410f351528
commit 270e76bdfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -167,4 +167,7 @@ where serviceType = 'Mssql';
DELETE FROM event_subscription_entity;
DELETE FROM change_event_consumers;
DELETE FROM consumers_dlq;
DELETE FROM consumers_dlq;
UPDATE ingestion_pipeline_entity SET json = JSON_SET(json, '$.provider', 'user')
WHERE JSON_EXTRACT(json, '$.name') = 'OpenMetadata_dataInsight';

View File

@ -180,3 +180,6 @@ where serviceType = 'Mssql';
DELETE FROM event_subscription_entity;
DELETE FROM change_event_consumers;
DELETE FROM consumers_dlq;
UPDATE ingestion_pipeline_entity SET json = JSONB_SET(json::jsonb, '{provider}', '"user"', true)
WHERE json->>'name' = 'OpenMetadata_dataInsight';