Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

unable to execute sql statements

$
0
0
I'm running version 4.1.0 of the community code.
I can setup a connection to a MS sql server fine and create a simple datasource and with the data preview it works fine
"select top 20 tank from list"

but when trying to make a report or use saiku, it crashes, giving the following error.

Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Reading row count from query [select distinct "FACT"."tank" as "c0" from (select top 20 tank from list) as "FACT"]; sql=[select count(*) from (select distinct "FACT"
."tank" as "c0" from (select top 20 tank from list) as "FACT")] at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:967

strange as it used to work and I never changed anything.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>