Options

The dummy operator Read Database (replacing jdbc_connectors:read_database) cannot be executed.

2131012221310122 Member Posts: 40 Guru
edited September 2020 in Help

I creat a process and run it in the RM Studio, it shows correct result in Results panel. Then I want to use it in my program, so I create a test class to run the process by using code like this:

1.jpg2.png

 

But result isn't what I expected. 

3.png

 

Then I debug it and find the reason, "myProcess" created by "processXML" isn't right, but "processXML" is right.

Process myProcess = new Process(processXML);
myProcess.setProcessLocation(new RepositoryProcessLocation(pLoc));

4.png

 

But why? What is a dummy operator? 

Does anybody know the answer? Thanks a lot.

 

 

Tagged:

Best Answer

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist
    Solution Accepted

    Hi,

     

    JDBC connectors are not part of the open-core but in a seperate extension called jdbc-connections. This extension is not open source.

     

    Best,

    Martin

     

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

  • Options
    2131012221310122 Member Posts: 40 Guru

    Does it mean that I can't use "read database" operator in my program? And another question, when I using it in RM, I didn't add any extension named "jdbc-connectors" and didn't found anything like that in marketplace. So why am I able to use it in RM and get the right answer? Thanks a lot.

Sign In or Register to comment.