Commit 004eeab
committed
feat(cubesql): Avoid
Signed-off-by: Alex Qyoun-ae <[email protected]>COUNT(*) pushdown to joined cubes1 parent 746d336 commit 004eeab
File tree
5 files changed
+172
-80
lines changed- packages/cubejs-schema-compiler/src/adapter
- rust/cubesql/cubesql/src/compile
- engine/df
- rewrite/rules
- wrapper
5 files changed
+172
-80
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | 2137 | | |
2142 | 2138 | | |
2143 | 2139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3824 | 3824 | | |
3825 | 3825 | | |
3826 | 3826 | | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
| 3835 | + | |
| 3836 | + | |
| 3837 | + | |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
| 3841 | + | |
3827 | 3842 | | |
3828 | 3843 | | |
3829 | 3844 | | |
| |||
3832 | 3847 | | |
3833 | 3848 | | |
3834 | 3849 | | |
| 3850 | + | |
| 3851 | + | |
| 3852 | + | |
| 3853 | + | |
| 3854 | + | |
| 3855 | + | |
| 3856 | + | |
3835 | 3857 | | |
3836 | 3858 | | |
3837 | 3859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17468 | 17468 | | |
17469 | 17469 | | |
17470 | 17470 | | |
| 17471 | + | |
| 17472 | + | |
| 17473 | + | |
| 17474 | + | |
| 17475 | + | |
| 17476 | + | |
| 17477 | + | |
| 17478 | + | |
| 17479 | + | |
| 17480 | + | |
| 17481 | + | |
| 17482 | + | |
| 17483 | + | |
| 17484 | + | |
| 17485 | + | |
| 17486 | + | |
| 17487 | + | |
| 17488 | + | |
| 17489 | + | |
| 17490 | + | |
| 17491 | + | |
| 17492 | + | |
| 17493 | + | |
| 17494 | + | |
| 17495 | + | |
| 17496 | + | |
| 17497 | + | |
| 17498 | + | |
| 17499 | + | |
| 17500 | + | |
| 17501 | + | |
| 17502 | + | |
| 17503 | + | |
| 17504 | + | |
| 17505 | + | |
| 17506 | + | |
17471 | 17507 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2062 | 2062 | | |
2063 | 2063 | | |
2064 | 2064 | | |
2065 | | - | |
| 2065 | + | |
2066 | 2066 | | |
2067 | 2067 | | |
2068 | 2068 | | |
| |||
2088 | 2088 | | |
2089 | 2089 | | |
2090 | 2090 | | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
2091 | 2102 | | |
2092 | 2103 | | |
2093 | 2104 | | |
| |||
Lines changed: 102 additions & 75 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| |||
1035 | 1037 | | |
1036 | 1038 | | |
1037 | 1039 | | |
| 1040 | + | |
1038 | 1041 | | |
1039 | 1042 | | |
1040 | 1043 | | |
1041 | 1044 | | |
1042 | 1045 | | |
1043 | 1046 | | |
1044 | 1047 | | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1052 | 1054 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1057 | 1071 | | |
1058 | 1072 | | |
1059 | | - | |
| 1073 | + | |
1060 | 1074 | | |
1061 | | - | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1062 | 1084 | | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1070 | 1092 | | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1094 | 1116 | | |
1095 | | - | |
1096 | | - | |
| 1117 | + | |
| 1118 | + | |
1097 | 1119 | | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1109 | 1132 | | |
1110 | | - | |
1111 | | - | |
| 1133 | + | |
| 1134 | + | |
1112 | 1135 | | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1127 | 1150 | | |
1128 | | - | |
| 1151 | + | |
| 1152 | + | |
1129 | 1153 | | |
1130 | 1154 | | |
1131 | 1155 | | |
| |||
1148 | 1172 | | |
1149 | 1173 | | |
1150 | 1174 | | |
| 1175 | + | |
1151 | 1176 | | |
1152 | 1177 | | |
1153 | 1178 | | |
| |||
1157 | 1182 | | |
1158 | 1183 | | |
1159 | 1184 | | |
| 1185 | + | |
1160 | 1186 | | |
1161 | 1187 | | |
1162 | 1188 | | |
| |||
1170 | 1196 | | |
1171 | 1197 | | |
1172 | 1198 | | |
| 1199 | + | |
1173 | 1200 | | |
1174 | 1201 | | |
1175 | 1202 | | |
| |||
0 commit comments