patch relations job: removed non necessary logging
This commit is contained in:
parent
69aee609ef
commit
323c76eafc
|
@ -80,9 +80,6 @@ public class PatchRelationsApplication {
|
||||||
final Dataset<Relation> rels = readPath(spark, relationPath, Relation.class);
|
final Dataset<Relation> rels = readPath(spark, relationPath, Relation.class);
|
||||||
final Dataset<RelationIdMapping> idMapping = readPath(spark, idMappingPath, RelationIdMapping.class);
|
final Dataset<RelationIdMapping> idMapping = readPath(spark, idMappingPath, RelationIdMapping.class);
|
||||||
|
|
||||||
log.info("relations: {}", rels.count());
|
|
||||||
log.info("idMapping: {}", idMapping.count());
|
|
||||||
|
|
||||||
final Dataset<Relation> bySource = rels
|
final Dataset<Relation> bySource = rels
|
||||||
.joinWith(idMapping, rels.col("source").equalTo(idMapping.col("oldId")), "left")
|
.joinWith(idMapping, rels.col("source").equalTo(idMapping.col("oldId")), "left")
|
||||||
.map((MapFunction<Tuple2<Relation, RelationIdMapping>, Relation>) t -> {
|
.map((MapFunction<Tuple2<Relation, RelationIdMapping>, Relation>) t -> {
|
||||||
|
|
Loading…
Reference in New Issue