fixed wrong mapping type of dataset

This commit is contained in:
Sandro La Bruzzo 2022-04-21 20:41:13 +02:00
parent d580e15442
commit d660895b30
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ object SparkGenerateDoiBoost {
)
.filter(s => s!= null && s._2!=null)
.map(s => s._2)
.map(s => s._2._2)
.write
.mode(SaveMode.Overwrite)
.save(s"$workingDirPath/doiBoostPublicationFiltered")