changed priority from beta to production

This commit is contained in:
Miriam Baglioni 2020-07-17 12:56:35 +02:00
parent 1781609508
commit 47c7122773
1 changed files with 4 additions and 4 deletions

View File

@ -96,12 +96,12 @@ public class MergeGraphSparkJob {
.map((MapFunction<Tuple2<Tuple2<String, P>, Tuple2<String, B>>, P>) value -> {
Optional<P> p = Optional.ofNullable(value._1()).map(Tuple2::_2);
Optional<B> b = Optional.ofNullable(value._2()).map(Tuple2::_2);
if (p.isPresent() & !b.isPresent()) {
return p.get();
}
if (b.isPresent()) {
if (b.isPresent() & !p.isPresent()) {
return (P)b.get();
}
if (p.isPresent()) {
return p.get();
}
return null;
}, Encoders.bean(p_clazz))
.filter((FilterFunction<P>) Objects::nonNull)