I am using Mondrian-4.0.0 with Saiku and it worked fine on MySQL, but when i connected to exactly same schema on Vertica, i got error on every MDX request ( trace listed below).
Executing the SQL query in Vertica console works just fine.
Below is the trace of this error... and as i undertsand from http://jira.pentaho.com/browse/MONDRIAN-2249 this is NOT THE BUG
What should be configured to avoid this error?
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set .....
]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:535)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:45)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:448)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:446)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select..... ]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.SqlStatement.handle(SqlStatement.java:362)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:243)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:166)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:140)
... 4 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Was not expecting value 'LONG' for enumeration 'mondrian.rolap.SqlStatement$Type' in this context
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:989)
at mondrian.olap.Util.newInternal(Util.java:2536)
at mondrian.olap.Util.unexpected(Util.java:2569)
at mondrian.rolap.agg.Segment.createDataset(Segment.java:354)
at mondrian.rolap.agg.SegmentLoader.createDataSets(SegmentLoader.java:525)
at mondrian.rolap.agg.SegmentLoader.createDataSetsForGroupingSets(SegmentLoader.java:476)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:221)
... 6 more
Executing the SQL query in Vertica console works just fine.
Below is the trace of this error... and as i undertsand from http://jira.pentaho.com/browse/MONDRIAN-2249 this is NOT THE BUG
What should be configured to avoid this error?
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set .....
]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:535)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:45)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:448)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:446)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select..... ]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.SqlStatement.handle(SqlStatement.java:362)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:243)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:166)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:140)
... 4 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Was not expecting value 'LONG' for enumeration 'mondrian.rolap.SqlStatement$Type' in this context
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:989)
at mondrian.olap.Util.newInternal(Util.java:2536)
at mondrian.olap.Util.unexpected(Util.java:2569)
at mondrian.rolap.agg.Segment.createDataset(Segment.java:354)
at mondrian.rolap.agg.SegmentLoader.createDataSets(SegmentLoader.java:525)
at mondrian.rolap.agg.SegmentLoader.createDataSetsForGroupingSets(SegmentLoader.java:476)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:221)
... 6 more