-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schema-compiler): Reference granularities in a proxy dimension (#…
…8664) * Update resolveSymbol & cubeReferenceProxy to support deep properties resolution (proxied custom granularities) * Update evaluateSymbolSql to support deep properties resolution (proxied custom granularities) * add unit tests for proxied time dimension granularities * refactor: remove cubePropertyReferenceProxy and move required logic piece to cubeReferenceProxy * fix func types in CubeEvaluator * Add support for proxying predefined granularities * Add tests for proxying predefined granularities * fix proxying granularities, referenced from different cubes * add tests for proxying granularities, referenced from different cubes * Add check for undefined during custom granularities tests * fix proxying items, referenced from different cubes/views * rename internalPropertyName -> subPropertyName in evaluateSymbolSql * fix after merge/rebase * Add comments in evaluateSymbolSql * create resolveSubProperty for unified way of subproperty resolving * Add usefull comments * implement proxied time dim granularity evaluation within the BaseQuery/evaluateSymbolSql area, not going to dimensionSql() * refactoring in resolveGranularity flow * reverted back to dimensionSql() * fix populating granularities in the views * add unit tests for custom granularities in views * add integration tests for proxied granularity
- Loading branch information
Showing
7 changed files
with
528 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.