[Mondrian] Bug in getNamedSet(List<Id.Segment> nameParts) ?

Julian Hyde jhyde at pentaho.com
Thu Feb 19 16:10:45 EST 2009

Thanks for taking this on, Matt.
This stuff should be extra test cases in SsasCompatibilityTest (attached,
because it is a work in progress, not yet checked in).
A few behaviors seem reasonable when a calc member in the slicer uses a set
that is dependent on the calc member: give a cyclicity error, use the
default member, use the all member, use the calc member. The experiment
should give a clear answer which of these SSAS2005 does. Also, if the set is
subsequently used outside of the slicer, does it give the same result? Am I
even correct in asserting that calc sets use the slicer context?


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Matt Campbell
Sent: Thursday, February 19, 2009 12:22 PM
To: jhyde at pentaho.com; Mondrian developer mailing list
Subject: Re: [Mondrian] Bug in getNamedSet(List<Id.Segment> nameParts) ?

I'll try some more experiments when I get a chance (probably tomorrow).
Pedro's first query returned null in both 2000 and 2005, and did not result
in an error.  Now that you point out that there's a cyclic dependency,
though, I would have expected the "infinite-recursion detected" error from

On Thu, Feb 19, 2009 at 1:57 PM, Julian Hyde <jhyde at pentaho.com> wrote:

Matt, can you do those experiments to clarify behavior. I'm spending my
scant work hours getting your hierarchy-name-resolution feature to work. :)

> Matt Campbell
> reported the exact same behaviour in 2000 and 2005, so if
> this is an issue,
> mondrian is not the only one facing it

Pedro, If SSAS2000 and SSAS2005 have the same behavior then I will take a
LOT of persuading that there is an issue at all. SSAS2005 is the de facto


Mondrian mailing list
Mondrian at pentaho.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20090219/f7c324bd/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ssas2005CompatibilityTest.java
Type: application/octet-stream
Size: 53166 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20090219/f7c324bd/attachment.obj 

More information about the Mondrian mailing list