jerqi commented on issue #9518:
URL: https://github.com/apache/gravitino/issues/9518#issuecomment-3691076757

   > Before this, I think there's an issue worth discussing first: currently, 
all Entities retrieve the owner's Entity when obtaining the owner, which leads 
to unnecessary table join—for example, joining with the user table. However, in 
reality, GravitinoAuthorizer only needs the ownerId for authorization. We 
should consider how to optimize this issue.
   > 
   > <img alt="Image" width="794" height="633" 
src="https://private-user-images.githubusercontent.com/35210666/529453089-4836a49d-b991-4eaa-8dce-fa10c69bc17f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjY2NDgyNDcsIm5iZiI6MTc2NjY0Nzk0NywicGF0aCI6Ii8zNTIxMDY2Ni81Mjk0NTMwODktNDgzNmE0OWQtYjk5MS00ZWFhLThkY2UtZmExMGM2OWJjMTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI1VDA3MzIyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2YzVjN2Q3MDM4NGQ2ZTZlZTg4ODUwMDE0OTEyN2RmNjA4YTlhNDg5NWMzY2U2OGU4MjY3NThlYWE4OTYyZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.n6hl1inQKcrhavRYLI-xWwJjpZ21frh6Nxo7CvnZBx4";>
   
   You need user id to serve as the map value.


-- 
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]

Reply via email to