Re: Flink 1.17 with Scala 2.13 or Scala 3

2024-01-12 Thread Alexey Novakov via user
cala 2.13 collections are not compatible: > > > > > > > > java.lang.NoSuchMethodError: 'scala.collection.immutable.ArraySeq > scala.runtime.ScalaRunTime$.wrapRefArray(java.lang.Object[])' > > > > > > > > So this issue seems weird and does look

Re: Flink 1.17 with Scala 2.13 or Scala 3

2024-01-10 Thread Martijn Visser
chMethodError: 'scala.collection.immutable.ArraySeq > scala.runtime.ScalaRunTime$.wrapRefArray(java.lang.Object[])' > > > > So this issue seems weird and does look like Flink is using the Scala 2.12 > runtime even if the flink-scala packages are not installed. The question is &g

Re: Flink 1.17 with Scala 2.13 or Scala 3

2024-01-10 Thread Eifler, Patrick
f it is possible to completely exclude Scala from the Flink docker image. Best, Patrick -- Patrick Eifler Staff Software Engineer FTG Data Engineering Sony Interactive Entertainment Kemperplatz 1 10785 Berlin From: Martijn Visser Date: Tuesday, 9. January 2024 at 16:41 To: Eifler, Patrick Cc:

Re: Flink 1.17 with Scala 2.13 or Scala 3

2024-01-09 Thread Martijn Visser
Hi Patrick, You're on the right track, because you can't use any of the Flink Scala APIs in order to use any arbitrary Scala version. Have you seen the examples with Scala 3? [2] Do you have an example of your code/setup? Best regards, Martijn [1] https://flink.apache.org/2022/02/22/scala-free-