From c1c8448c1d0c5875e2355cbb085fc567c8bee4e7 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 3ed50d8676d..84696c4c8f9 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