Skip to content

Commit

Permalink
MONDRIAN: Support for Netezza in MondrianFoodMartLoader
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 12623]
  • Loading branch information
Sherman Wood committed Apr 18, 2009
1 parent 6c84220 commit 6368a55
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -361,10 +361,14 @@ private void load() throws Exception {
String productName = metaData.getDatabaseProductName();
String version = metaData.getDatabaseProductVersion();

LOGGER.info("Output connection is " + productName + ", " + version);
LOGGER.info("Output connection is " + productName +
", version: " + version);

dialect = DialectManager.createDialect(null, connection);

LOGGER.info("Mondrian Dialect is " + dialect +
", detected database product: " + dialect.getDatabaseProduct());

if (dialect.getDatabaseProduct() == Dialect.DatabaseProduct.INFOBRIGHT
&& indexes)
{
Expand Down Expand Up @@ -2540,6 +2544,7 @@ String toPhysical(Dialect dialect) {
switch (dialect.getDatabaseProduct()) {
case POSTGRESQL:
case LUCIDDB:
case NETEZZA:
return name;
case MYSQL:
case INFOBRIGHT:
Expand Down

0 comments on commit 6368a55

Please sign in to comment.