mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-23 14:13:39 +00:00
Fix Pytest Failures (#24063)
* Fix Pytest Failures * Checkstyle failures fix
This commit is contained in:
parent
c2896d896e
commit
d77aaabd89
@ -4434,7 +4434,7 @@ public interface CollectionDAO {
|
|||||||
+ "FROM tag_usage tu "
|
+ "FROM tag_usage tu "
|
||||||
+ "LEFT JOIN glossary_term_entity gterm ON tu.source = 1 AND gterm.fqnHash = tu.tagFQNHash "
|
+ "LEFT JOIN glossary_term_entity gterm ON tu.source = 1 AND gterm.fqnHash = tu.tagFQNHash "
|
||||||
+ "LEFT JOIN tag ta ON tu.source = 0 AND ta.fqnHash = tu.tagFQNHash "
|
+ "LEFT JOIN tag ta ON tu.source = 0 AND ta.fqnHash = tu.tagFQNHash "
|
||||||
+ "WHERE tu.targetfqnhash_lower LIKE LOWER(:targetFQNHash) AND tu.state = 1",
|
+ "WHERE tu.targetfqnhash_lower LIKE LOWER(:targetFQNHash)",
|
||||||
connectionType = MYSQL)
|
connectionType = MYSQL)
|
||||||
@ConnectionAwareSqlQuery(
|
@ConnectionAwareSqlQuery(
|
||||||
value =
|
value =
|
||||||
@ -4446,7 +4446,7 @@ public interface CollectionDAO {
|
|||||||
+ "FROM tag_usage tu "
|
+ "FROM tag_usage tu "
|
||||||
+ "LEFT JOIN glossary_term_entity gterm ON tu.source = 1 AND gterm.fqnHash = tu.tagFQNHash "
|
+ "LEFT JOIN glossary_term_entity gterm ON tu.source = 1 AND gterm.fqnHash = tu.tagFQNHash "
|
||||||
+ "LEFT JOIN tag ta ON tu.source = 0 AND ta.fqnHash = tu.tagFQNHash "
|
+ "LEFT JOIN tag ta ON tu.source = 0 AND ta.fqnHash = tu.tagFQNHash "
|
||||||
+ "WHERE tu.targetfqnhash_lower LIKE LOWER(:targetFQNHash) AND tu.state = 1",
|
+ "WHERE tu.targetfqnhash_lower LIKE LOWER(:targetFQNHash)",
|
||||||
connectionType = POSTGRES)
|
connectionType = POSTGRES)
|
||||||
@RegisterRowMapper(TagLabelRowMapperWithTargetFqnHash.class)
|
@RegisterRowMapper(TagLabelRowMapperWithTargetFqnHash.class)
|
||||||
List<Pair<String, TagLabel>> getTagsInternalByPrefix(
|
List<Pair<String, TagLabel>> getTagsInternalByPrefix(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user