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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)