-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
saiku adhoc db2 error Parent exception: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null #175
Comments
Hi, There is an error in the SQL statement that is generated when you apply a filter by selecting values from the list of values. This is the SQL statement sent to DB2 Saiku adhoc: SELECT DISTINCT BT_MGC002_MGC002.GRPDSC AS COL0 There is an error in the WHERE, the next thing is wrong => OR '' IN ( ?, ?, ?, ? ) |
I am not a DB2 expert but I heard of numerious problems like that. The Am 20.12.2012 05:06, schrieb avillagra:
|
Hi, This SQL statement that is wrong, is incorrect. Saiku adhoc not generate the SQL statement? pentaho does? I can view a log of what generates Saiku adhoc? This error only happens when you apply a filter on a char. thaks. |
from pentaho using adhoc Saiku when the report is generated catalog file called prueba.adhoc. Looking at the file in the "parameters" specifies the filters you've selected and look right: "parameters": [ Is it possible to see who sends you to pentaho Saiku adhoc? thanks |
there must be a temporary cda file in pentaho-solutions\system\tmp\ . Am 21.12.2012 14:45, schrieb avillagra:
|
Hi,
to create a report select the clumns and Saiku adhoc returns data correctly.
The problem is when I apply a filter on a char column. In this case the column is char (30) and select 2 or 3 values from filter list and clic en "Save" button, then saiku adhoc return:
ReportGenerator.ERROR_0001 - The CDA Datafactory Could not process the query
In the pentaho.log in "biserver-ce\tomcat\logs" say:
db2 error Parent exception: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null
Using db2 9.7 in windows 7.
any ideas where to look and try to fix the problem?
Thank,
Aldo
The text was updated successfully, but these errors were encountered: