From 15c3c4e9efed02c646f1ca5549699da75c4c7479 Mon Sep 17 00:00:00 2001 From: ohecker <8004361+ohecker@users.noreply.github.com> Date: Fri, 24 May 2024 10:19:24 +0200 Subject: [PATCH] Remove applicationName from correlation keys as this not a stable key in case of the performed aggregation --- .../sql/normalizedlicenses_aggregated_applications.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/resources/com/devonfw/tools/solicitor/sql/normalizedlicenses_aggregated_applications.sql b/core/src/main/resources/com/devonfw/tools/solicitor/sql/normalizedlicenses_aggregated_applications.sql index bd1baedb..a67e9a71 100644 --- a/core/src/main/resources/com/devonfw/tools/solicitor/sql/normalizedlicenses_aggregated_applications.sql +++ b/core/src/main/resources/com/devonfw/tools/solicitor/sql/normalizedlicenses_aggregated_applications.sql @@ -5,10 +5,10 @@ -- due to reading from different input files. -- This is a replacement of "allden_normalizedlicenses.sql" for generating aggregated reports. select - CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_0, - CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_1, - CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-')) as CORR_KEY_2, - CONCAT(NVL("applicationName",'-'),NVL("groupId",'-'),NVL("artifactId",'-')) as CORR_KEY_3, + CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_0, + CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("normalizedLicense",'-')) as CORR_KEY_1, + CONCAT(NVL("groupId",'-'),NVL("artifactId",'-'),NVL("version",'-')) as CORR_KEY_2, + CONCAT(NVL("groupId",'-'),NVL("artifactId",'-')) as CORR_KEY_3, "applicationName", "version" , "trace" ,