Skip to content

Commit

Permalink
fixed viewparsing query (#14076)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarVO7 authored Nov 23, 2023
1 parent 4bce6a9 commit 274a3d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
12 changes: 12 additions & 0 deletions bootstrap/sql/migrations/native/1.2.3/postgres/schemaChanges.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

-- fixed Query for updating viewParsingTimeoutLimit
UPDATE ingestion_pipeline_entity
SET json = jsonb_set(
json::jsonb #- '{sourceConfig,config,viewParsingTimeoutLimit}',
'{sourceConfig,config,queryParsingTimeoutLimit}',
(json #> '{sourceConfig,config,viewParsingTimeoutLimit}')::jsonb,
true
)
WHERE json #>> '{pipelineType}' = 'metadata'
AND json #>> '{sourceConfig,config,type}' = 'DatabaseMetadata'
AND json #>> '{sourceConfig,config,viewParsingTimeoutLimit}' is not null;

0 comments on commit 274a3d1

Please sign in to comment.