Uh oh!
There was an error while loading. Please reload this page.
[Feature](multi-catalog) Support sql cache for hms catalog - #23391
Conversation
dutyu
commented
Aug 23, 2023
run buildall |
hello-stephen
commented
Aug 23, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
1189c20 to
d7e5bf1Comparedutyu
commented
Aug 28, 2023
run buildall |
hello-stephen
commented
Aug 28, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
719066a to
41add2fComparedutyu
commented
Aug 31, 2023
run buildall |
hello-stephen
commented
Aug 31, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
dutyu
commented
Sep 3, 2023
run buildall |
hello-stephen
commented
Sep 3, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cfc57ef to
1351478Comparedutyu
commented
Sep 10, 2023
run buildall |
doris-robot
commented
Sep 10, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
morningman
commented
Sep 10, 2023
I will add test case later |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
**Support sql cache for hms catalog. Legacy planner and Nereids planner are all supported. Not support partition cache now, not support federated query now.**
Proposed changes
Issue Number: close #xxx
Support sql cache for hms catalog. Legacy planner and Nereids planner are all supported.
Not support partition cache now, not support federated query now.
Now just use the
lastUpdateTimeof hive table, and the relevant pr is #21873 . The cache will be missed if thelastUpdateTimechanged, i will submit a pr to record the update time of hive partitions later~Test case 1:
Set
Config.cache_last_version_interval_second=1.select * from test_wxy.call_center limit 10, wait a second and submit the query again, the cache will hit at the second time.refresh table hive_safelycc.test_wxy.call_center, then cache will be missed.Test case 2:
Set
Config.cache_last_version_interval_second=1, enable hms event listener.select count(0) from test_wxy.call_center, wait a second and submit the query again, the cache will hit at the second time.Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...