Open Peter2121 opened 6 years ago
I am investigating mondrian too, and had building experience of mondrian recently. I am not java developer, but i can share my experience. What your current building workflow and which errors you get?
I solved the problem, rebuilding mondrian 3.14 jar from sources jar, downloaded from Sourceforge.
The bug was in mondrian.rolap.SqlMemberSource.makeLevelMemberCountSql
, around line 270
for (String colDef : columnList) {
if (i > 0) {
sb.append(", ");
}
sb.append(
sqlQuery.getDialect()
.generateCountExpression(colDef));
i++; // ****************** this increment was lost
}
Hi, I installed xmondrian under tomcat8 and tested it on our data with MySQL 5.7.22 - all works correctly. Now I'm trying to switch it to the new database where the data will be migrated soon, and it does not work anymore. It seems that something is going wrong in
getLevelMemberCount
function, inmondrian.sql
log I get the following logs:...for MySQL (working one) and
...for MariaDB - error. So in two cases, the SQL query is not the same, evidently the second query is incorrect. I would try to fix it myself, but I cannot build mondrian, downloaded from https://github.com/pentaho/mondrian. Can you share the build instructions, please?