Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-705

Aggregate with grouping sets turned on causes exception

    XMLWordPrintable

    Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      With grouping sets turned on, the following MDX will throw an ArrayIndexOutOfBoundsException in CellKey$Generator.getOffset. I suspect this was introduced in changelist 13397.

      with member [Gender].[agg] as '
      Aggregate(

      {[Gender].DefaultMember}

      , [Measures].[Store Cost])'
      select

      {[Measures].[Store Cost]}

      ON COLUMNS,

      {[Gender].[Gender].Members, [Gender].[agg]}

      ON ROWS
      from [Sales]

        Attachments

          Activity

            People

            Assignee:
            kcruzada Kurtis Cruzada (Inactive)
            Reporter:
            kurtis.walker Kurtis Walker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: