flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink issue #3712: [FLINK-6281] Create TableSink for JDBC.
Date Tue, 20 Jun 2017 14:50:09 GMT
Github user fhueske commented on the issue:

    Yes, I think that would work well. We could provide a builder for the table source and
forward calls to the `JDBCOutputFormatBuilder`. 
    Regarding the query template: we can also make it an optional parameter to override the
standard `INSERT INTO ... VALUES` template if set. 
    If you want the source to support upsert writes you might want to implement the `UpsertStreamTableSink`
rather than the `AppendStreamTableSink`. The `UpsertStreamTableSink` supports append writes
as well as updates and deletes by exposing the unique key fields of a `Table`. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message