OpenMetadata/bootstrap/sql/migrations/native/1.12.3/mysql/postDataMigrationSQLScript.sql
Teddy 8270e01415
ISSUE-3030 - Profiler autotune threading (#26385)
* FIX - Redshift converter (#26229)

(cherry picked from commit ce8e1e5b5b)

* feat(autoThreading): default threading null

* feat(autoThreading): get automatically thread count based on task to run

* feat(autoThreading): better ttyping and handle exception on system metrics

* chore: clean up changes

* feat(autoThreading): remove default 5

* feat(autoThreading): clamp thread count

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-11 08:25:38 -07:00

4 lines
198 B
SQL

UPDATE ingestion_pipeline_entity
SET json = JSON_REMOVE(json, '$.sourceConfig.config.threadCount')
WHERE pipelineType = 'profiler'
AND JSON_EXTRACT(json, '$.sourceConfig.config.threadCount') = 5;