Skip to content

Commit 3cc904d

Browse files
committed
review: add TODO in listPolicies
1 parent 9ac3708 commit 3cc904d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/service/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public List<PolicyIdentifier> listPolicies(Namespace namespace, PolicyType polic
161161
}
162162

163163
List<PolarisEntity> catalogPath = resolvedEntities.getRawFullPath();
164+
// TODO: when the "policyType" filter is null we should only call "listEntities" instead
164165
return metaStoreManager
165166
.loadEntitiesAll(
166167
callContext.getPolarisCallContext(),

0 commit comments

Comments
 (0)