[FLINK-3557] [stream, scala] Introduce secondary parameter list for fold function
The fold API call takes an initial value as well as a fold function. In Scala it is possible to provide an anonymous function. In order to easily support multi line anonymous functions as well as being consistent with Scala's collection API, this PR adds another parameter list to the fold API call, which contains the fold function parameter. Insert spaces between first parameter list and curly braces of anonymous function This closes #1748.
Showing
想要评论请 注册 或 登录