You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by GitBox <gi...@apache.org> on 2022/11/26 12:55:58 UTC

[GitHub] [streampipes] dominikriemer opened a new issue, #306: [Postgres Sink] Tries to Creating Table for each incomming event

dominikriemer opened a new issue, #306:
URL: https://github.com/apache/streampipes/issues/306

   Hi,
   
   I simple creates a random stream adapter and used the postgres sink together with the internal docker postgres container ( user1 ...)
   
   The pipeline is starting without error but I get a console error:
   
   ```
   
   14:37:12.627 SP [Thread-2] ERROR o.a.s.s.d.jvm.postgresql.PostgreSql - USERLOG - correspondingPipeline:
   37cad1cf-a7cc-468e-8c23-aadf964728cb - peURI: http://host.docker.internal:7015/sec/org.apache.streampipes.sinks.databases.jvm.postgresql/37cad1cf-a7cc-468e-8c23-aadf964728cb-org.apache.streampipes.SRIOtjvrYzNxYSAFsyJz-postgresql-3
   - ERROR: relation "table" already exists
   
   ```
   
   
   It seems to me that the create table statement is used on each event (onEvent-method) and not in the onInvocation method.
   
   
   The table is created and can't be created again because the name is already used.
   So no data is stored at the moment in the sink.
   
   
   
   
   
   Imported from Jira [STREAMPIPES-126](https://issues.apache.org/jira/browse/STREAMPIPES-126). Original Jira may contain additional context.
   Reported by: micklich.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [streampipes] dominikriemer closed issue #306: [Postgres Sink] Tries to Creating Table for each incomming event

Posted by GitBox <gi...@apache.org>.
dominikriemer closed issue #306: [Postgres Sink] Tries to Creating Table for each incomming event
URL: https://github.com/apache/streampipes/issues/306


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org