Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12303

Scala 2.12 lambdas does not work in event classes inside streams.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Scala 2.11/2.12, Oracle Java 1.8.0_172

      Description

      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 would expect that it would not compile in case I have used some not supported field in event class or I would throw some exception at least.

       

      For more detail check my demonstration repo, please: https://github.com/matej-novotny/flink-lambda-bug

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snilard Matěj Novotný
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: