Skip to content

Commit

Permalink
add search endpoint for getParents
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingjian Wu committed Jul 5, 2024
1 parent e8dc095 commit 8c99023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ class MetacatSmokeSpec extends Specification {
// Test Parent 1 parentChildInfo
assert parent1Table.definitionMetadata.get("parentChildRelationInfo").get("isParent").booleanValue()
assert parentChildRelV1.getChildren(catalogName, databaseName, parent1) == [new ChildInfoDto("embedded-fast-hive-metastore/iceberg_db/child11", "CLONE", "c11_uuid")] as Set
assert parentChildRelV1.getParents(catalogName, databaseName, child11).isEmpty()
assert !parentChildRelV1.getParents(catalogName, databaseName, parent1).isEmpty()
// Test Child11 parentChildInfo
assert !child11Table.definitionMetadata.get("parentChildRelationInfo").has("isParent")
Expand Down

0 comments on commit 8c99023

Please sign in to comment.