The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
DatabaseExampleSource returns only 10 rows
Legacy User
Member Posts: 0 Newbie
Hello,
I have a problem with the DatabaseExampleSource in combination with Oracle and rapidminer version 4.1.
My query that is executed should return over 100.000 data rows. But all i get within rapidminer are the first 10 rows. This matches (maybe) the default fetch size of the ODBC driver? So it seems that the first 10 rows will be fetched and afterwards the operator terminates...
Sometimes I get the following error message:
Jun 24, 2008 8:49:46 AM: [Error] While reading examples from result set: operation not allowed: Unsupported syntax for refreshRow()
Btw: when i switch to version 4.0 everything works fine...
Any suggestions what I'm doing wrong?
greetz
ajay
I have a problem with the DatabaseExampleSource in combination with Oracle and rapidminer version 4.1.
My query that is executed should return over 100.000 data rows. But all i get within rapidminer are the first 10 rows. This matches (maybe) the default fetch size of the ODBC driver? So it seems that the first 10 rows will be fetched and afterwards the operator terminates...
Sometimes I get the following error message:
Jun 24, 2008 8:49:46 AM: [Error] While reading examples from result set: operation not allowed: Unsupported syntax for refreshRow()
Btw: when i switch to version 4.0 everything works fine...
Any suggestions what I'm doing wrong?
greetz
ajay
0
Answers
I have not yet an idea, what could be the problem here. Does the error show up, when you only try to read the data via the [tt]DatabaseExamplesSource[/tt] operator? Or does your process involve other operators? What settings do you use in the example source operator? Maybe you can post your process XML?
Regards,
Tobias
still it isn't a real error - it just does not retrieve all data rows
here are some more details:
rapidminer 4.0
Process XML: output at the console: -----------------------------------
rapidminer 4.1
Process XML: output at the console: when i execute the process for a second time, the error message disappear.. I use the latest java jdk 1.5 with the ojdbc driver for java 1.4/1.5 (ojdbc14.jar).
Hope this helps a little ?!
-ajay-
hmm, it could be that there is a problem with the Oracle JDBC driver and order / grouping statements:
http://www.orafaq.com/forum/?t=msg&;th=34929/0/
and
http://forum.java.sun.com/thread.jspa?threadID=272795&;messageID=1282624
Maybe these links and the suggested workaround could help? Although I would not yet have an idea why it worked in RM 4.0 then. I try to check what differs between both version with respect to database access.
Cheers,
Ingo