[x] Tests has been run in packages where changes made if available
[x] Linter has been run for changed code
[x] Tests for the changes have been added if not covered yet
[x] Docs have been added / updated if required
Description of Changes Made (if issue reference is not provided)
There's no way for SQL API to specify time dimension in load query during SQL generation for CubeScan: only "dimension" part is supported by Cube ATM, and either SQL API should trim granularity from member path, and replicate alias logic from schema compiler, or schema compiler should support granularity in aliases
Check List
Description of Changes Made (if issue reference is not provided)
There's no way for SQL API to specify time dimension in load query during SQL generation for CubeScan: only "dimension" part is supported by Cube ATM, and either SQL API should trim granularity from member path, and replicate alias logic from schema compiler, or schema compiler should support granularity in aliases