remove from the set of relation to be included in the dump also those with relType resultService. It is not possible to extend the removeSet parameter because the relClass is IsRelatedTo
This commit is contained in:
parent
fcec4b4225
commit
e0a0dddfac
|
@ -82,7 +82,8 @@ public class SparkSelectSubset implements Serializable {
|
|||
.readPath(spark, inputPath + "/relation", Relation.class)
|
||||
.filter(
|
||||
(FilterFunction<Relation>) r -> !r.getDataInfo().getDeletedbyinference()
|
||||
&& !removeSet.contains(r.getRelClass()));
|
||||
&& !removeSet.contains(r.getRelClass()) &&
|
||||
!r.getRelType().equals("resultService"));
|
||||
|
||||
Dataset<String> resultIds = Utils
|
||||
.readPath(spark, outputPath + "/original/publication", Publication.class)
|
||||
|
|
Loading…
Reference in New Issue