[Mondrian] Test suite on MySQL

Julian Hyde jhyde at pentaho.com
Wed Aug 11 02:28:17 EDT 2010

I may have broken something. Did this error occur before my recent change?


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Luc Boudreau
Sent: Tuesday, August 10, 2010 9:12 AM
To: Mondrian developer mailing list
Subject: [Mondrian] Test suite on MySQL


I'm having troubles running the test suite against MySQL and I'm out of
ideas on what to try next to fix it. I can run it fine on Oracle or Access.
MySQL has a strange exception popping up.

mondrian.olap.MondrianException: Mondrian Error:Member '[Store].[USA].[CA]'
not found
    at mondrian.olap.Util.lookupCompound(Util.java:586)

Looking at the sql logs, I can confirm that the actual row was retrieved.

2010-08-10 11:50:27,648 DEBUG [mondrian.sql] 7:
SqlMemberSource.getMemberChildren: executing sql [select
`store`.`store_country` as `c0` from `store` as `store` where
UPPER(`store`.`store_country`) = UPPER('USA') group by
`store`.`store_country` order by ISNULL(`store`.`store_country`),
`store`.`store_country` ASC]

2010-08-10 11:50:27,663 DEBUG [mondrian.sql] 7: , exec 15 ms

2010-08-10 11:50:27,663 DEBUG [mondrian.sql] 7: , exec+fetch 15 ms, 1 rows

If I copy / paste that query in a MySQL terminal window, I get the results
as well. 

Someone encountered this before? Insights? Suspicions? Ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100810/e3a35ed1/attachment.html 

More information about the Mondrian mailing list