Pentaho Analysis - Mondrian

Heterogeneous axis gives wrong results

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.1 GA
  • Fix Version/s: Future Release
  • Component/s: None
  • Labels:
    None

Description

The query

select
  {[Measures].[Store Sales],[Gender].[M]} on columns,
  {[Store].[All Stores].[USA].children} on rows
from Sales

gives values for ([Measures].[Store Sales], [Gender].[All
Gender]) in the 2nd column, but it should be the default
measure, ([Measures].[Unit Sales], [Gender].[M]).

The problem is that the axis is heterogeneous --
[Measures].[Store Sales] and [Gender].[M] are from
different hierarchies -- and mondrian optimizes query
execution by assuming that they are homogeneous.

For now, we should throw an error that we do not
support heterogeneous axes. (MSOLAP does not.)

If we ever allow heterogeneous axes, we need to be
more selective how we apply the optimization.

Activity

Hide
Mondrian Importer User added a comment - 01/Jan/70 12:00 AM
{jhyde}, 04/08/2003: priority, 5
Show
Mondrian Importer User added a comment - 01/Jan/70 12:00 AM {jhyde}, 04/08/2003: priority, 5
Hide
Julian Hyde added a comment - 10/Apr/09 3:06 AM
In SSAS 2005 this query is an error. Added test case BasicQueryTest.testHeterogeneousAxis. Change 12587, will be in mondrian-3.1.1.
Show
Julian Hyde added a comment - 10/Apr/09 3:06 AM In SSAS 2005 this query is an error. Added test case BasicQueryTest.testHeterogeneousAxis. Change 12587, will be in mondrian-3.1.1.
Hide
Priya Muraleedharan added a comment - 27/Sep/10 8:17 AM
This issue has been fixed and validated using 3.7.0-M1 build on 27/SEP/2010
Show
Priya Muraleedharan added a comment - 27/Sep/10 8:17 AM This issue has been fixed and validated using 3.7.0-M1 build on 27/SEP/2010

People

Vote (0)
Watch (0)

Dates

  • Created:
    27/Nov/02 8:50 PM
    Updated:
    27/Sep/10 8:17 AM
    Resolved:
    27/Sep/10 8:17 AM