WIP: various refactors

This commit is contained in:
Claudio Atzori 2023-06-26 16:50:59 +02:00 committed by Sandro La Bruzzo
parent 326367eccc
commit 75ff902f9d
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ public class SparkCreateSimRels extends AbstractSparkAction {
final String outputPath = DedupUtility.createSimRelPath(workingPath, actionSetId, subEntity);
removeOutputDir(spark, outputPath);
JavaSparkContext sc = JavaSparkContext.fromSparkContext(spark.sparkContext());
SparkDedupConfig sparkConfig = new SparkDedupConfig(dedupConf, numPartitions);
Dataset<?> simRels = spark