"stream database operator"
dan_agape
New Altair Community Member
Hi there
Has anyone used the stream database operator with Postgresql databases? I have an it did not work.
If not, what database management systems have you used this operator on, successfully? How large your database was; was your process execution tractable in case of impressively large datasets?
Many thanks,
Dan
Has anyone used the stream database operator with Postgresql databases? I have an it did not work.
If not, what database management systems have you used this operator on, successfully? How large your database was; was your process execution tractable in case of impressively large datasets?
Many thanks,
Dan
0
Answers
-
Hi Dan,
what exactly does happen when the operator fails?
Does your table have a primary key? If not I would suggest adding one.
Greetings,
Sebastian0 -
Hi Sebastian,
Thanks.
Actually my table does not have a primary key, but according to the documentation for this operator, a primary key would be created by RM for this operator application to succeed. Is it possible that this option is not functional? Have you tried it on other DBMS with tables without primary keys?
The error message is:
"Process failed. Reason: Database error occurred: ERROR: syntax error at or near AUTO_INCREMENT"
Best,
Dan0 -
Hi Dan,
it has been tested on some DBMS, but altering tables is a much more DBMS dependent thing than simply reading the table using JDBC. The problem is, that each database system interprets the SQL "standard" a little bit different, changing keywords and so on. I guess, you system does not support the option AUTO_INCREMENT or something following this keyword in the statement. The simplest solution would be to introduce a primary key.
Greetings,
Sebastian0 -
Hello I am having the same problem, and added a primary key on the table named id, but steel doesnt work, and gives me the same message, any ideas on whats cousing the problem.
Thanks0 -
Hi,
which database system do you use?
Greetings,
Sebastian0 -
Hello.
I'm having the same troubles, and i have a primary key. The database is postgresql 8.4, anybody has a solution?0