[Mondrian] MDX Expression like <Member> <Op> <String> failed
Alexander Korsukov
akorsukov at gmail.com
Wed Jun 3 00:59:57 EDT 2009
As I can see problem in the following method
mondrian-3.1.1.12687\src\main\mondrian\calc\impl\AbstractExpCompiler.java
line 250:
public StringCalc compileString(Exp exp) {
return (StringCalc) compile(exp);
}
probably should be (as for other scalar types)
public StringCalc compileString(Exp exp) {
return (StringCalc) compileScalar(exp, false);
}
otherwise (for example) MemberExp compiled to ConstantCalc instead of
MemberValueCalc as expected.
--
Alexander Korsukov
_____________________________________________________
mailto:akorsukov at gmail.com icq:8572488
(2E0A2052) xmpp:shko at jabber.ru
More information about the Mondrian
mailing list