jazzido / mondrian-rest

A REST interface for Mondrian ROLAP server
MIT License
32 stars 8 forks source link

shared dim as part of fully qualified name #25

Closed hwchen closed 7 years ago

hwchen commented 7 years ago

Shared dims are showing up as part of the fully qualified name, e.g.

      {
          "name": "Jowf",
          "full_name": "[Location].[location].[Jowf]",
          "all_member?": false,
          "drillable?": true,
          "depth": 1,
          "caption": "Jowf",
          "key": 13,
          "num_children": 3,
          "parent_name": "[Location].[location].[All locations]",
          "level_name": "Region",
          "children": []
        }

where Location is the DimensionUsage, location is the shared dimension, and Jowf is a member of level Region.

This leads to 3 major issues:

(Side note, for queries, both with and without shared dim in name appear to work)

As mentioned before, I think having shared dim in the name is weird but it's ok as long as it works and is consistent. But removing the need for it would be fine too.

Thanks!