added to all the entities the check that deletedbyinference = false

This commit is contained in:
Miriam Baglioni 2021-04-07 10:37:49 +02:00
parent 26cf32c066
commit ad6d0ca9eb
1 changed files with 3 additions and 1 deletions

View File

@ -110,9 +110,11 @@ public class SparkSelectValidRelationsJob implements Serializable {
"UNION ALL " +
"SELECT id " +
"FROM project " +
"WHERE datainfo.deletedbyinference = false AND datainfo.invisible = false " +
"UNION ALL " +
"SELECT id " +
"FROM datasource ")
"FROM datasource " +
"WHERE datainfo.deletedbyinference = false AND datainfo.invisible = false " )
.createOrReplaceTempView("identifiers");
spark