mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* 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>
5 lines
269 B
SQL
5 lines
269 B
SQL
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;
|