You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/05/26 20:15:00 UTC

[jira] [Created] (FLINK-17950) Broken Scala env.countinuousSource method

Stephan Ewen created FLINK-17950:
------------------------------------

             Summary: Broken Scala env.countinuousSource method 
                 Key: FLINK-17950
                 URL: https://issues.apache.org/jira/browse/FLINK-17950
             Project: Flink
          Issue Type: Bug
          Components: API / Scala
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.11.0


The Scala {{StreamExecutionEnvironment.countinuousSource(...)}} method has two critical problems:
  - Its return type is {{Unit}} instead of {{DataStream}}, so that no one can use the created stream
  - It does not forward the TypeInformation identified by the ScalaCompiler but relies on the Java TypeExtraction stack, which cannot handle most Scala types. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)