OpenMetadata/bootstrap/sql/migrations/native/1.12.4/postgres/postDataMigrationSQLScript.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
269 B
MySQL
Raw Normal View History

UPDATE ingestion_pipeline_entity
SET json = (json::jsonb #- '{sourceConfig,config,threadCount}')::json
WHERE pipelineType = 'profiler'
AND json->'sourceConfig'->'config'->>'threadCount' IS NOT NULL
AND (json->'sourceConfig'->'config'->>'threadCount')::numeric = 5;