Closed pgschr closed 6 years ago
For those having the same issue, this is how you solve it: You need to touch a source JdbcDialectImpl.java adding a line (see below) and recompile Mondrian:
} else if (upperProductName.indexOf("SYBASE") >= 0
|| upperProductName.indexOf("ADAPTIVE SERVER") >= 0
|| upperProductName.equals("HDB")) { // <-- I added this line
return DatabaseProduct.SYBASE;
I'm trying to implement Mondrian/olap4j with SAP Hana database (columnar/in-memory). SAP Hana originated from a Sybase database, and the dialects are similar.
Mondrian is not detecting that the database is Sybase, as it's inserting unneeded quotes, so I'd like to force the dialect (maybe in the connection string?):
This works (code in Scala):
However when I try to run this statement, I get an exception, because "BANKS"."sk" is incorrect as it shouldn't have quotes:
val cellSet = statement.executeOlapQuery(query)
The exception: