|
38 | 38 | import org.eclipse.daanse.olap.api.function.FunctionService; |
39 | 39 | import org.eclipse.daanse.olap.common.ExecuteDurationUtil; |
40 | 40 | import org.eclipse.daanse.olap.core.LoggingEventBus; |
41 | | -import org.eclipse.daanse.olap.server.ExecutionImpl; |
| 41 | +import org.eclipse.daanse.olap.server.ExecutionImpl; |
42 | 42 | import org.eclipse.daanse.rolap.api.RolapContext; |
43 | 43 | import org.eclipse.daanse.rolap.mapping.api.CatalogMappingSupplier; |
44 | 44 | import org.eclipse.daanse.rolap.mapping.api.model.AccessRoleMapping; |
@@ -140,6 +140,8 @@ public void activate1() throws Exception { |
140 | 140 | Optional<Dialect> optionalDialect = dialectFactory.tryCreateDialect(connection); |
141 | 141 | dialect = optionalDialect.orElseThrow(() -> new Exception(ERR_MSG_DIALECT_INIT)); |
142 | 142 | aggregationFactory = new AggregationFactoryImpl(dialect, this.getCustomAggregators()); |
| 143 | + } catch (Exception e) { |
| 144 | + LOGGER.error(ERR_MSG_DIALECT_INIT, e); |
143 | 145 | } |
144 | 146 |
|
145 | 147 | shepherd = new RolapResultShepherd(getConfigValue(ConfigConstants.ROLAP_CONNECTION_SHEPHERD_THREAD_POLLING_INTERVAL, ConfigConstants.ROLAP_CONNECTION_SHEPHERD_THREAD_POLLING_INTERVAL_DEFAULT_VALUE, Long.class), |
@@ -251,8 +253,8 @@ public AggregationFactory getAggragationFactory() { |
251 | 253 |
|
252 | 254 | @Override |
253 | 255 | public Evaluator createEvaluator(Statement statement) { |
254 | | - final RolapEvaluatorRoot root = new RolapEvaluatorRoot( statement ); |
255 | | - return new RolapEvaluator( root ); |
| 256 | + final RolapEvaluatorRoot root = new RolapEvaluatorRoot(statement); |
| 257 | + return new RolapEvaluator(root); |
256 | 258 | }; |
257 | 259 |
|
258 | 260 | @Override |
|
0 commit comments