flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9852) Expose descriptor-based sink creation in table environments
Date Thu, 19 Jul 2018 06:28:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548848#comment-16548848

ASF GitHub Bot commented on FLINK-9852:

Github user twalthr commented on the issue:

    Thank you for your suggestions @pnowojski. I hope I could address most of them in the
new commits. I improved the code duplication a bit and `ExternalCatalogTable` is immutable
now with a proper builder. 

> Expose descriptor-based sink creation in table environments
> -----------------------------------------------------------
>                 Key: FLINK-9852
>                 URL: https://issues.apache.org/jira/browse/FLINK-9852
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API &amp; SQL
>    Affects Versions: 1.6.0
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
> Currently, only a table source can be created using the unified table descriptors with
{{tableEnv.from(...)}}. A similar approach should be supported for defining sinks or even
both types at the same time.
> I suggest the following syntax:
> {code}
> tableEnv.connect(Kafka(...)).registerSource("name")
> tableEnv.connect(Kafka(...)).registerSink("name")
> tableEnv.connect(Kafka(...)).registerSourceAndSink("name")
> {code}
> A table could then access the registered source/sink.

This message was sent by Atlassian JIRA

View raw message