[
https://issues.apache.org/jira/browse/FLINK-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533824#comment-17533824
]
Nick Burkard edited comment on FLINK-13414 at 5/9/22 1:55 PM:
--------------------------------------------------------------
I don't think flink-adt would be savepoint compatible with jobs dependent on
flink-scala unfortunately. flink-adt uses its own custom type information,
serializers & serializer snapshots for multiple data types, which are not
present in flink-scala. Once you're on Scala 2.13+ you can no longer use
flink-scala & flink-streaming-scala as well, since Flink only builds Scala
binaries for 2.12. This means you'd need to switch to wrapping the Java APIs or
use something like [flink4s|https://github.com/ariskk/flink4s]. Additionally,
upgrading Scala versions raises the question of binary compatibility between
versions. This means for example Scala 2.12 code is not compatible with Scala
2.13 code. This changes in Scala 3, but only going forwards.
was (Author: nickburkard):
I don't think flink-adt would be savepoint compatible with jobs dependent on
flink-scala unfortunately. flink-adt uses its own custom type information,
serializers & serializer snapshots for multiple data types, which are not
present in flink-scala. Once you're on Scala 2.13+ you can no longer use
flink-scala & flink-streaming-scala as well, since Flink only builds scala
binaries for 2.12. This means you'd need to switch to wrapping the Java APIs or
use something like [flink4s|https://github.com/ariskk/flink4s]. Additionally,
upgrading Scala versions raises the question of binary compatibility between
versions. This means for example Scala 2.12 code is not compatible with Scala
2.13 code. This changes in Scala 3, but only going forwards.
> Add support for Scala 2.13
> --------------------------
>
> Key: FLINK-13414
> URL: https://issues.apache.org/jira/browse/FLINK-13414
> Project: Flink
> Issue Type: New Feature
> Components: API / Scala
> Reporter: Chaoran Yu
> Priority: Minor
> Labels: auto-deprioritized-major, pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)