Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Allow SSAS2005-compatible syntax for resolving names of dim…
…ensions, hierarchies, levels, members, and in particular multiple hierarchies in a dimension. If SsasCompatibleNaming=false (default): * [Time.Weekly] is preferred by the parser, but now [Time].[Weekly] is accepted; * Typical unique names are [Time] (dimension), [Time.Weekly] (hierarchy with different name to dimension), [Store] (hierarchy with same name as its dimension), [Gender].[Gender] (level). If SsasCompatibleNaming=true: * [Time].[Weekly] is preferred by the parser, but [Time.Weekly] is accepted; * Typical unique names are [Time] (dimension), [Time].[Weekly] (hierarchy with different name to dimension), [Store].[Store] (hierarchy with same name as its dimension), [Gender].[Gender].[Gender] (level). * The parser can find unqualified hierarchies and levels (e.g. the level [Store City]) and similar things (e.g. [Time].[Weekly].[Week] can be abbreviated to [Time].[Week]) * If dimension, hierarchy and level have the same name X, to get the level, you have to write [X].[X].[X]. * If a dimension contains only one hierarchy, the hierarchy can be omitted. Therefore the behavior tends to be the same as before. * Axes can appear out of usual columns, rows order (e.g. select x on rows, y on columns from z). The level name resolution change is the biggest concern to enabling SsasCompatibleNaming, because it might break apps. For example, many of our tests have written [Gender].[Gender].Members, intending to get the two members of the [Gender] level, and now return the 3 members of the [Gender] hierarchy. The test suite runs successfully for both values of SsasCompatibleNaming. I added methods upgradeQuery and upgradeExpected to massage the differences between the two behaviors. Also, unbounded numbers of axes, e.g. 'select expr on 0, expr on 1, ... expr on 512', per SSAS2005. Previously we topped out at 6. [git-p4: depot-paths = "//open/mondrian/": change = 12395]
- Loading branch information
1 parent
978aaed
commit a5aaff6
Showing
103 changed files
with
4,316 additions
and
1,705 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.