hdygxsj commented on code in PR #9914:
URL: https://github.com/apache/gravitino/pull/9914#discussion_r2798909702
##########
core/src/main/java/org/apache/gravitino/storage/relational/RelationalEntityStore.java:
##########
@@ -225,6 +228,30 @@ public <E extends Entity & HasIdentifier> List<E>
listEntitiesByRelation(
});
}
+ @Override
+ public <E extends Entity & HasIdentifier>
+ Map<NameIdentifier, List<E>> batchListEntitiesByRelation(
Review Comment:
Where should the Relation be placed, and are there any similar data
structures available right now?
Also, just to mention—personally, I find it really hard to understand and
accept that retrieving the owner of an entity requires using a method called
listEntitiesByRelation. Does an entity really have multiple owners?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]