flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-9852) Expose descriptor-based sink creation in table environments
Date Sun, 15 Jul 2018 10:33:00 GMT
Timo Walther created FLINK-9852:
-----------------------------------

             Summary: 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
            Reporter: Timo Walther
            Assignee: Timo Walther


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
(v7.6.3#76005)

Mime
View raw message