Uh oh!
There was an error while loading. Please reload this page.
[enhance](auth)support cache ranger datamask and row filter - #37723
Conversation
doris-robot
commented
Jul 12, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
zddr
commented
Jul 12, 2024
run buildall |
doris-robot
commented
Jul 12, 2024
TPC-H: Total hot run time: 39972 ms |
doris-robot
commented
Jul 12, 2024
TPC-DS: Total hot run time: 172600 ms |
doris-robot
commented
Jul 12, 2024
ClickBench: Total hot run time: 31.38 s |
morrySnow
left a comment
There was a problem hiding this comment.
i read code about ranger in hive. i think ranger could get all column mask in one table once by set setResourceMatchingScope to SELF_OR_DESCENDANTS
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
zddr
commented
Jul 22, 2024
run buildall |
doris-robot
commented
Jul 22, 2024
TPC-H: Total hot run time: 39987 ms |
doris-robot
commented
Jul 22, 2024
TPC-DS: Total hot run time: 174268 ms |
doris-robot
commented
Jul 22, 2024
ClickBench: Total hot run time: 30.34 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…7723) The Ranger plugin is relatively slow in obtaining datamask and row filter policies, and the time consumed will become slower as the number of policies configured on the Ranger increases optimized logic: cache result in memory of doris, cache will invalidate when ranger plugin discover policy updates before: mysql> select * from zd.user; Empty set (0.19 sec) after: mysql> select * from zd.user; Empty set (0.06 sec)
The Ranger plugin is relatively slow in obtaining datamask and row filter policies, and the time consumed will become slower as the number of policies configured on the Ranger increases optimized logic: cache result in memory of doris, cache will invalidate when ranger plugin discover policy updates before: mysql> select * from zd.user; Empty set (0.19 sec) after: mysql> select * from zd.user; Empty set (0.06 sec)
…7723) The Ranger plugin is relatively slow in obtaining datamask and row filter policies, and the time consumed will become slower as the number of policies configured on the Ranger increases optimized logic: cache result in memory of doris, cache will invalidate when ranger plugin discover policy updates before: mysql> select * from zd.user; Empty set (0.19 sec) after: mysql> select * from zd.user; Empty set (0.06 sec)
…7723) The Ranger plugin is relatively slow in obtaining datamask and row filter policies, and the time consumed will become slower as the number of policies configured on the Ranger increases optimized logic: cache result in memory of doris, cache will invalidate when ranger plugin discover policy updates before: mysql> select * from zd.user; Empty set (0.19 sec) after: mysql> select * from zd.user; Empty set (0.06 sec)
The Ranger plugin is relatively slow in obtaining datamask and row filter policies, and the time consumed will become slower as the number of policies configured on the Ranger increases
optimized logic:
cache result in memory of doris, cache will invalidate when ranger plugin discover policy updates
before:
after: