Skip to content

Commit

Permalink
ALS-6375: Do not show continuous statviz for obfuscated result sets
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed May 2, 2024
1 parent 2041f8e commit 0dbf127
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,10 @@ protected String processContinuousCrossCounts(String continuousCrossCountRespons
int generatedVariance = this.generateVarianceWithCrossCounts(crossCounts);
boolean mustObfuscate = isCrossCountObfuscated(crossCounts, generatedVariance);

if (mustObfuscate) {
return null;
}

// Handle the case where there is no visualization service UUID
if (properties.getVisualizationResourceId() != null) {
Map<String, Map<String, Integer>> continuousCrossCounts = objectMapper.readValue(continuousCrossCountResponse, new TypeReference<>() {});
Expand Down

0 comments on commit 0dbf127

Please sign in to comment.