[DUMP INDICATORS ] refactoring
This commit is contained in:
parent
0a53c29a8f
commit
31ce13ffb4
|
@ -80,9 +80,9 @@ public class SparkUpdateProjectInfo implements Serializable {
|
|||
Optional.ofNullable(value._2()).ifPresent(rp -> r.setProjects(rp.getProjectsList()));
|
||||
return r;
|
||||
}, Encoders.bean(CommunityResult.class));
|
||||
long
|
||||
count = tmp.count();
|
||||
tmp.write()
|
||||
long count = tmp.count();
|
||||
tmp
|
||||
.write()
|
||||
.option("compression", "gzip")
|
||||
.mode(SaveMode.Append)
|
||||
.json(outputPath);
|
||||
|
|
Loading…
Reference in New Issue