mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 10:26:09 +00:00
parent
baa2781619
commit
35bef5669a
@ -1402,7 +1402,7 @@ public interface CollectionDAO {
|
||||
+ " SELECT te.type, te.taskStatus, te.id "
|
||||
+ " FROM thread_entity te "
|
||||
+ " WHERE MATCH(te.taskAssigneesIds) AGAINST (:userTeamJsonMysql IN BOOLEAN MODE) "
|
||||
+ ") AS combined "
|
||||
+ ") AS combined WHERE combined.type is not NULL "
|
||||
+ "GROUP BY combined.type, combined.taskStatus;",
|
||||
connectionType = MYSQL)
|
||||
@ConnectionAwareSqlQuery(
|
||||
@ -1436,7 +1436,7 @@ public interface CollectionDAO {
|
||||
+ " SELECT te.type, te.taskStatus, te.id "
|
||||
+ " FROM thread_entity te "
|
||||
+ " WHERE to_tsvector('simple', taskAssigneesIds) @@ to_tsquery('simple', :userTeamJsonPostgres) "
|
||||
+ ") AS combined "
|
||||
+ ") AS combined WHERE combined.type is not NULL "
|
||||
+ "GROUP BY combined.type, combined.taskStatus;",
|
||||
connectionType = POSTGRES)
|
||||
@RegisterRowMapper(OwnerCountFieldMapper.class)
|
||||
|
Loading…
x
Reference in New Issue
Block a user