forked from D-Net/dnet-hadoop
[dedup] force the Relation schema when reading the merge rels
This commit is contained in:
parent
a42c8b7c85
commit
973aa7dca6
|
@ -69,6 +69,7 @@ public class SparkPropagateRelation extends AbstractSparkAction {
|
|||
|
||||
Dataset<Relation> mergeRels = spark
|
||||
.read()
|
||||
.schema(REL_BEAN_ENC.schema())
|
||||
.load(DedupUtility.createMergeRelPath(workingPath, "*", "*"))
|
||||
.as(REL_BEAN_ENC);
|
||||
|
||||
|
|
Loading…
Reference in New Issue