due to change in the input file the filtering step is no more needed

This commit is contained in:
Miriam Baglioni 2021-05-21 11:47:43 +02:00
parent 54f6e2f693
commit e07c3ba089
1 changed files with 0 additions and 1 deletions

View File

@ -143,7 +143,6 @@ public class PrepareProgramme {
JavaRDD<CSVProgramme> h2020Programmes = programme
.toJavaRDD()
.filter(p -> p.getFrameworkProgramme().trim().equalsIgnoreCase("H2020"))
.mapToPair(csvProgramme -> new Tuple2<>(csvProgramme.getCode(), csvProgramme))
.reduceByKey((a, b) -> {
if (!a.getLanguage().equals("en")) {