Commit 431bbcd
refactor: derive tableFilterExpr from rules, show db.table names in MatchedTables
- Make tableFilterExpr transient (not persisted), computed from
tableFilterRules via canonicalize() as single source of truth
- Add computeTableFilterExpr() helper, called in constructor and
rebuildOnTablesFilter()
- Remove setTableFilterExpr() from Builder
- Change currentTableIds from Set<Long> to Map<Long, String> mapping
table ID to 'db.table' qualified name
- Update getMatchedTablesString() to show sorted db.table names
(e.g., 'ods.orders, ods.products') instead of numeric IDs
- Update resolveTableIds() in CacheHotspotManager to return
Map<Long, String> and update all callers
- Add 3 new tests, update all existing tests for new API
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0179b4d commit 431bbcd
File tree
4 files changed
+149
-89
lines changed- fe/fe-core/src
- main/java/org/apache/doris/cloud
- test/java/org/apache/doris/cloud
4 files changed
+149
-89
lines changedLines changed: 14 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
873 | 872 | | |
874 | 873 | | |
875 | 874 | | |
876 | | - | |
877 | | - | |
878 | | - | |
| 875 | + | |
879 | 876 | | |
880 | 877 | | |
881 | 878 | | |
| |||
885 | 882 | | |
886 | 883 | | |
887 | 884 | | |
888 | | - | |
889 | | - | |
890 | | - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
891 | 888 | | |
892 | 889 | | |
893 | 890 | | |
| |||
952 | 949 | | |
953 | 950 | | |
954 | 951 | | |
955 | | - | |
956 | | - | |
| 952 | + | |
| 953 | + | |
957 | 954 | | |
958 | 955 | | |
959 | 956 | | |
| |||
974 | 971 | | |
975 | 972 | | |
976 | 973 | | |
977 | | - | |
| 974 | + | |
978 | 975 | | |
979 | 976 | | |
980 | | - | |
981 | | - | |
| 977 | + | |
| 978 | + | |
982 | 979 | | |
983 | 980 | | |
984 | 981 | | |
| |||
992 | 989 | | |
993 | 990 | | |
994 | 991 | | |
995 | | - | |
| 992 | + | |
996 | 993 | | |
997 | 994 | | |
998 | 995 | | |
| |||
1009 | 1006 | | |
1010 | 1007 | | |
1011 | 1008 | | |
1012 | | - | |
| 1009 | + | |
1013 | 1010 | | |
1014 | | - | |
1015 | | - | |
| 1011 | + | |
| 1012 | + | |
1016 | 1013 | | |
1017 | 1014 | | |
1018 | 1015 | | |
1019 | | - | |
| 1016 | + | |
1020 | 1017 | | |
1021 | 1018 | | |
1022 | 1019 | | |
| |||
Lines changed: 32 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 145 | | |
150 | 146 | | |
151 | 147 | | |
| 148 | + | |
| 149 | + | |
152 | 150 | | |
153 | | - | |
| 151 | + | |
| 152 | + | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | | - | |
186 | 184 | | |
187 | 185 | | |
188 | 186 | | |
| |||
222 | 220 | | |
223 | 221 | | |
224 | 222 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 223 | | |
231 | 224 | | |
232 | 225 | | |
| |||
249 | 242 | | |
250 | 243 | | |
251 | 244 | | |
252 | | - | |
253 | 245 | | |
| 246 | + | |
254 | 247 | | |
255 | 248 | | |
256 | 249 | | |
| |||
443 | 436 | | |
444 | 437 | | |
445 | 438 | | |
446 | | - | |
| 439 | + | |
447 | 440 | | |
448 | 441 | | |
449 | | - | |
450 | | - | |
| 442 | + | |
451 | 443 | | |
452 | 444 | | |
453 | 445 | | |
| |||
526 | 518 | | |
527 | 519 | | |
528 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
529 | 524 | | |
530 | | - | |
| 525 | + | |
531 | 526 | | |
532 | 527 | | |
533 | | - | |
534 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
535 | 544 | | |
536 | 545 | | |
537 | 546 | | |
| |||
565 | 574 | | |
566 | 575 | | |
567 | 576 | | |
568 | | - | |
| 577 | + | |
569 | 578 | | |
570 | 579 | | |
571 | 580 | | |
572 | 581 | | |
573 | 582 | | |
574 | 583 | | |
| 584 | + | |
575 | 585 | | |
576 | 586 | | |
577 | 587 | | |
| |||
821 | 831 | | |
822 | 832 | | |
823 | 833 | | |
824 | | - | |
825 | | - | |
| 834 | + | |
| 835 | + | |
826 | 836 | | |
827 | 837 | | |
828 | 838 | | |
829 | 839 | | |
830 | | - | |
| 840 | + | |
831 | 841 | | |
832 | 842 | | |
833 | 843 | | |
| |||
0 commit comments