This commit is contained in:
Miriam Baglioni 2020-04-16 10:52:50 +02:00
parent a8100baed6
commit c28333d43f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class PrepareResultInstRepoAssociation {
"where datainfo.deletedbyinference = false " +
"and relClass = '" + RELATION_RESULT_ORGANIZATION_REL_CLASS +"' " +
"group by source";
spark.sql(query)
.as(Encoders.bean(ResultOrganizationSet.class))