[
https://issues.apache.org/jira/browse/FLINK-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420330#comment-15420330
]
ASF GitHub Bot commented on FLINK-3874:
---------------------------------------
Github user mushketyk commented on a diff in the pull request:
https://github.com/apache/flink/pull/2244#discussion_r74701671
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/table.scala
---
@@ -590,7 +592,7 @@ class Table(
.map(field => FlinkTypeFactory.toTypeInfo(field.getType)).toArray
// configure the table sink
- val configuredSink = sink.configure(fieldNames, fieldTypes)
+ val configuredSink =
sink.asInstanceOf[TableSinkBase[T]].configure(fieldNames, fieldTypes)
--- End diff --
Good point. Fixed it.
> Add a Kafka TableSink with JSON serialization
> ---------------------------------------------
>
> Key: FLINK-3874
> URL: https://issues.apache.org/jira/browse/FLINK-3874
> Project: Flink
> Issue Type: New Feature
> Components: Table API & SQL
> Reporter: Fabian Hueske
> Assignee: Ivan Mushketyk
> Priority: Minor
>
> Add a TableSink that writes JSON serialized data to Kafka.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)