Re: scala IT

2018-07-31 Thread vino yang
Hi Nicos, The returns API is not deprecated, just because it is part of the DataStream Java API. Thanks, vino. 2018-07-31 15:15 GMT+08:00 Nicos Maris : > Isn't the returns functions deprecated? > > On Tue, Jul 31, 2018, 5:32 AM vino yang wrote: > >> Hi Nicos, >> >> The thrown exception has giv

Re: scala IT

2018-07-31 Thread Nicos Maris
Isn't the returns functions deprecated? On Tue, Jul 31, 2018, 5:32 AM vino yang wrote: > Hi Nicos, > > The thrown exception has given you a clear solution hint: > The return type of function 'apply(Mu >ltiplyByTwoTest.scala:43)' could not be determined automatically, due > to type erasure. Y

Re: scala IT

2018-07-30 Thread vino yang
Hi Nicos, The thrown exception has given you a clear solution hint: The return type of function 'apply(Mu ltiplyByTwoTest.scala:43)' could not be determined automatically, due to type erasure. You can giv e type information hints by using the returns(...) method on the result of the transfor

Re: scala IT

2018-07-30 Thread Hequn Cheng
Hi Nicos, It is weird. Have you updated your code? I check your code and the function has implemented ResultTypeQueryable. The code should works well. Best, Hequn On Tue, Jul 31, 2018 at 6:30 AM, Nicos Maris wrote: > Hi all, > > > the integration test in scala documented at the testing section

scala IT

2018-07-30 Thread Nicos Maris
Hi all, the integration test in scala documented at the testing section fails: https://travis-ci.org/nicosmaris/HelloDockerScalaSbt/builds/410075764 In previous commits of my demo repo, I tried typextractor , basictypeinfo and resultTypeQuerable with no success. I am new to flink and to Scala a