[Mondrian] foodmart: inconsistent measure's member type?

Julian Hyde jhyde at pentaho.com
Wed Apr 6 17:24:44 EDT 2011

It sounds like a bug. Can you please log a jira case with the version &
driver info you list below.


From: Michele Rossi [mailto:michele.rossi at gmail.com] 
Sent: Wednesday, April 06, 2011 2:14 PM
To: jhyde at pentaho.com; Mondrian developer mailing list
Subject: Re: [Mondrian] foodmart: inconsistent measure's member type?

I am accessing Mondrian from the Olap4j API.
I am using the latest combination of mondrian (3.3-SNAPSHOT, obtained from
the ivy repositories today) and Olap4j (I built it myself from the trunk of
the svn repository today).

The mondrian driver is in the mondrian distribution right?
I can't look at the code now as I am at home but I will take a look tomorrow


On 6 April 2011 22:40, Julian Hyde <jhyde at pentaho.com> wrote:

What API are you using to access this member? olap4j or Mondrian's legacy
API? If olap4j, which driver?


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Michele Rossi
Sent: Wednesday, April 06, 2011 7:56 AM
To: Mondrian developer mailing list
Subject: [Mondrian] foodmart: inconsistent measure's member type?

I am finding that member [Measures].[Store Sales] (which is a Measure) has
memberType MEASURE when accessed from hierarchy.getDefaultMember() while it
has type REGULAR when accessed from the list of members of the relevant

In theory the level's member list should contain exactly the same object as
hierarchy's default member right?



Michele Rossi

Via San Martino, 52, 56125 Pisa, ITALY
T: +39 050 220 3894
 <mailto:m.rossi at iontrading.com> m.rossi at iontrading.com
 <http://www.iontrading.com/> http://www.iontrading.com

Mondrian mailing list
Mondrian at pentaho.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110406/fd1f4e85/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1461 bytes
Desc: not available
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20110406/fd1f4e85/attachment.jpe 

More information about the Mondrian mailing list