[ https://issues.apache.org/jira/browse/FLINK-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420291#comment-15420291 ]
ASF GitHub Bot commented on FLINK-3874: --------------------------------------- Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2244#discussion_r74699857 --- 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 -- It seems that KafkaTableSink doesn't extends TableSinkBase, so that does it work if the input sink is a KafkaTableSink ? > 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)