master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
1 changed files with 1 additions and 0 deletions
Showing only changes of commit ae2b47b29d - Show all commits

View File

@ -80,6 +80,7 @@ public class GenerateStatsJob {
.map( .map(
(MapFunction<Tuple2<String, DatasourceStats>, DatasourceStats>) t -> t._2, (MapFunction<Tuple2<String, DatasourceStats>, DatasourceStats>) t -> t._2,
Encoders.bean(DatasourceStats.class)) Encoders.bean(DatasourceStats.class))
.coalesce(1)
.write() .write()
.mode(SaveMode.Overwrite) .mode(SaveMode.Overwrite)
.jdbc(dbUrl, "oa_datasource_stats_temp", connectionProperties); .jdbc(dbUrl, "oa_datasource_stats_temp", connectionProperties);