-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9.0
-
Component/s: API / Scala, API / Type Serialization System
-
Labels:
In scala.StreamExecutionEnvironment.addSource I would expect that typeInfo is also passed to the javaEnv.addSource as second parameter and not only passed to the returns method:
def addSource[T: TypeInformation](function: SourceFunction[T]): DataStream[T] = { require(function != null, "Function must not be null.") val cleanFun = scalaClean(function) val typeInfo = implicitly[TypeInformation[T]] asScalaStream(javaEnv.addSource(cleanFun, <missing typeInfo>).returns(typeInfo)) }
- causes
-
FLINK-14757 scala.StreamExecutionEnvironment Doesn't set return type upon adding source
-
- Open
-
- links to