use saveParquet method to ensure mergerel output is compressed
This commit is contained in:
parent
6cf64d5d8b
commit
9fa125b16f
|
@ -155,8 +155,7 @@ public class SparkCreateMergeRels extends AbstractSparkAction {
|
|||
(FlatMapFunction<ConnectedComponent, Relation>) cc -> ccToMergeRel(cc, dedupConf),
|
||||
Encoders.bean(Relation.class));
|
||||
|
||||
mergeRels.write().mode(SaveMode.Overwrite).parquet(mergeRelPath);
|
||||
|
||||
saveParquet(mergeRels, mergeRelPath, SaveMode.Overwrite);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue