Matěj Novotný created FLINK-12303:
-------------------------------------
Summary: Scala 2.12 lambdas does not work in event classes inside streams.
Key: FLINK-12303
URL:
https://issues.apache.org/jira/browse/FLINK-12303 Project: Flink
Issue Type: Bug
Components: API / DataStream
Affects Versions: 1.7.2
Environment: Scala 2.11/2.12, Oracle Java 1.8.0_172
Reporter: Matěj Novotný
When you use lambdas inside event classes used in streams it does work in Scala 2.11. It stoped working in Scala 2.12. It does compile but does not process any data and does not throw any exception. I don't think that Flink should support lambdas inside event classes processed in streams but I think that It should not behave like this. I would expect that it will not compile in case I have used some not supported field in event class.
For more detail check my demonstration repo, please: [
https://github.com/matej-novotny/flink-lambda-bug]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)