dengzhhu653 commented on PR #5873: URL: https://github.com/apache/hive/pull/5873#issuecomment-2978667906
> please wait for @dengzhhu653. I think some of the request objects allow filtering out what fields need to be fetched, maybe we can do the same here > > ``` > GetTablesRequest req = new GetTablesRequest(dbName); > ... > GetProjectionsSpec projectionsSpec = new GetProjectionsSpec(); > projectionsSpec.setFieldList(Arrays.asList("dbName", "tableName", "owner", "ownerType")); > ``` Thank you @deniskuzZ @shuyouZZ. This [this change on HMSHandler](https://github.com/apache/hive/pull/5782/files#diff-90c669c961ab250c01087a409b31126cce7ac0672c40f465e7ee262ed7bcdadd) is trying to fix the Ranger stack overflow on retrieving the owner from database, so we get the whole database and push it to validate the access(authorization). -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org