You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2024/09/03 04:22:00 UTC

[jira] [Commented] (FLINK-3610) Scala DataStream#addSink returns Java DataStreamSink

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

Weijie Guo commented on FLINK-3610:
-----------------------------------

I'm going to close this as we will remove all scala API code in 2.0.

> Scala DataStream#addSink returns Java DataStreamSink
> ----------------------------------------------------
>
>                 Key: FLINK-3610
>                 URL: https://issues.apache.org/jira/browse/FLINK-3610
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / DataStream, API / Scala
>    Affects Versions: 1.0.0
>            Reporter: Márton Balassi
>            Priority: Major
>              Labels: auto-unassigned
>             Fix For: 2.0-preview
>
>
> I have just come across a shortcoming of the streaming Scala API: it completely lacks the Scala implementation of the DataStreamSink and instead the Java version is used. [1]
> I would regard this as a bug that needs a fix for 1.0.1. Unfortunately this is also api-breaking.
> [1] https://github.com/apache/flink/blob/master/flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/DataStream.scala#L928-L929



--
This message was sent by Atlassian Jira
(v8.20.10#820010)