Commit bbf6d22
refactor: revert transpiler ensureCubeParam changes, keep evaluation-level fixes
Transpilation already correctly handles CUBE context for mask.sql -
when mask.sql references cube members or CUBE explicitly, the transpiler
adds CUBE as a parameter. The default CUBE context issue is in the
evaluation path, not transpilation.
Reverted:
- CubePropContextTranspiler: removed maskSqlPattern, ensureCubeParam
- YamlCompiler: removed ensureCubeParam plumbing
- Removed 'mask.sql should always have CUBE as default parameter' test
Kept:
- Tesseract mask_sql dependency collection fixes (dimension + measure)
- mask.sql with CUBE reference resolution test
- All smoke tests (non-Tesseract and Tesseract)
Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com>1 parent d168562 commit bbf6d22
3 files changed
Lines changed: 9 additions & 47 deletions
File tree
- packages/cubejs-schema-compiler
- src/compiler
- transpilers
- test/unit
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | | - | |
| 158 | + | |
160 | 159 | | |
161 | 160 | | |
162 | 161 | | |
| |||
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
277 | | - | |
| 276 | + | |
278 | 277 | | |
279 | | - | |
| 278 | + | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
294 | 293 | | |
295 | 294 | | |
296 | 295 | | |
297 | | - | |
| 296 | + | |
298 | 297 | | |
299 | 298 | | |
300 | 299 | | |
| |||
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
315 | | - | |
| 314 | + | |
316 | 315 | | |
317 | 316 | | |
318 | 317 | | |
| |||
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
82 | | - | |
| 79 | + | |
| 80 | + | |
83 | 81 | | |
84 | 82 | | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 92 | | |
99 | 93 | | |
100 | 94 | | |
| |||
108 | 102 | | |
109 | 103 | | |
110 | 104 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 105 | | |
116 | 106 | | |
117 | 107 | | |
| |||
145 | 135 | | |
146 | 136 | | |
147 | 137 | | |
148 | | - | |
149 | | - | |
| 138 | + | |
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
| |||
Lines changed: 0 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 382 | | |
409 | 383 | | |
410 | 384 | | |
| |||
0 commit comments