1
0
Fork 0

[dedup] force the Relation schema when reading the merge rels

This commit is contained in:
Claudio Atzori 2024-11-06 12:29:06 +01:00
parent a42c8b7c85
commit 973aa7dca6
1 changed files with 1 additions and 0 deletions

View File

@ -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);