From 4b2d37babc7804f4bfdcf553c97156517f320a88 Mon Sep 17 00:00:00 2001 From: Pere Miquel Brull Date: Wed, 9 Oct 2024 09:34:18 +0200 Subject: [PATCH] FIX - App Extension Migration (#18176) --- .../service/migration/utils/v160/MigrationUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/migration/utils/v160/MigrationUtil.java b/openmetadata-service/src/main/java/org/openmetadata/service/migration/utils/v160/MigrationUtil.java index 1feac38ff75..7d58e88360f 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/migration/utils/v160/MigrationUtil.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/migration/utils/v160/MigrationUtil.java @@ -24,7 +24,7 @@ public class MigrationUtil { private static final String UPDATE_MYSQL_APP_EXTENSION = "UPDATE apps_extension_time_series SET json = JSON_SET(json, '$.appName', :appName) WHERE appId = :appId AND extension = 'status'"; private static final String UPDATE_PG_APP_EXTENSION = - "UPDATE apps_extension_time_series SET json = jsonb_set(json_data, '{appName}', :appName::jsonb) WHERE appId = :appId AND extension = 'status'"; + "UPDATE apps_extension_time_series SET json = jsonb_set(json, '{appName}', :appName::jsonb) WHERE appId = :appId AND extension = 'status'"; // We'll list the entries in app_extension_time_series, clean those whose appId // is not installed, and for those that appId matches from installed Apps, we'll