[graph cleaning] added missing case

This commit is contained in:
Claudio Atzori 2023-04-05 11:35:47 +02:00
parent dead87917f
commit 864f4051d3
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,6 @@ public class CleanGraphSparkJob {
} else {
save(cleaned_basic, outputPath);
}
} else if (Boolean.TRUE.equals(ModelSupport.isSubClass(clazz, Result.class))) {
// load the hostedby mapping
@ -191,6 +190,8 @@ public class CleanGraphSparkJob {
Encoders.bean(clazz));
save(cleaned_deep, outputPath);
} else {
save(cleaned_basic, outputPath);
}
}