Skip to content

Commit

Permalink
Remove applicationName from correlation keys as this not a stable key…
Browse files Browse the repository at this point in the history
… in case of the performed aggregation
  • Loading branch information
ohecker committed May 24, 2024
1 parent a56a3e4 commit 15c3c4e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" ,
Expand Down

0 comments on commit 15c3c4e

Please sign in to comment.