use saveParquet method to ensure mergerel output is compressed #348

Closed
giambattista.bloisi wants to merge 1 commits from fix_mergerels_notcompressed into beta
1 changed files with 1 additions and 2 deletions

View File

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