Commit 9302eea
refactor: generate synthetic link dims after include/exclude logic
Restructured so the compilation order is:
1. View include/exclude logic runs first (CubeSymbols.prepareIncludes)
- links property is propagated to view dimensions alongside other
properties like format, granularities, mask
- Exclude works correctly since synthetic dims don't exist yet
2. Then prepareSyntheticLinkDimensions runs in prepareCube for both
cubes AND views, generating synthetic dims from whatever dimensions
survived the include/exclude phase
Removed the previous approach of auto-including synthetic dims during
the include resolution (they didn't exist at that point anyway).
Moved prepareSyntheticLinkDimensions before prepareMembers(dimensions)
so the synthetic dims get full member processing.
Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com>1 parent cf573d6 commit 9302eea
2 files changed
Lines changed: 3 additions & 22 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | 212 | | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
Lines changed: 2 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | 715 | | |
734 | 716 | | |
735 | | - | |
736 | | - | |
737 | | - | |
| 717 | + | |
738 | 718 | | |
739 | 719 | | |
740 | 720 | | |
| |||
1024 | 1004 | | |
1025 | 1005 | | |
1026 | 1006 | | |
| 1007 | + | |
1027 | 1008 | | |
1028 | 1009 | | |
1029 | 1010 | | |
| |||
0 commit comments