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
"stream database operator"
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
Tagged:
0
Answers
what exactly does happen when the operator fails?
Does your table have a primary key? If not I would suggest adding one.
Greetings,
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,
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,
Sebastian
Thanks
which database system do you use?
Greetings,
Sebastian
I'm having the same troubles, and i have a primary key. The database is postgresql 8.4, anybody has a solution?