Commit d971e8d
fix: include maskedMembers in collectFrom cache key for correct join resolution
When a member is masked, evaluateSymbolSql takes a different path
(mask.sql instead of regular sql), which may reference different
cubes requiring different joins. The compilerCache was caching the
collection results without considering masking state, causing stale
join hints when the same member was first collected without masking
and then with masking.
Add 'masked' suffix to the cache key for masked members so that
masked and unmasked collection results are cached separately.
Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com>1 parent a2a6fc9 commit d971e8d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2850 | 2850 | | |
2851 | 2851 | | |
2852 | 2852 | | |
| 2853 | + | |
| 2854 | + | |
2853 | 2855 | | |
2854 | 2856 | | |
2855 | 2857 | | |
| |||
0 commit comments