fury icon indicating copy to clipboard operation
fury copied to clipboard

[Release][Scala] Add scala 2.12 release version

Open Platob opened this issue 7 months ago • 3 comments

Feature Request

Add releases for scala 2.12 version as it is used in AWS Glue service for example ?

Is your feature request related to a problem? Please describe

Missing legacy scala version suports

Describe the solution you'd like

Create scala 2.12 release jar

Describe alternatives you've considered

no alternative found yet using in AWS Glue 5.0 which is limited to scala 2.12

Additional context

No response

Platob avatar May 03 '25 06:05 Platob

Hi @Platob , Scala 2.12 and 2.13+ has incompatibility for collection API. Support scala 2.12 may need more effort. Would you like to contribute to it?

scala/src/main/scala/org/apache/fury/serializer/scala/CollectionSerializer.scala needs updated to use scala-collection-compat

chaokunyang avatar May 10 '25 03:05 chaokunyang

Yes ! would love to

Tried build the project but it seem block on val furyVersion = "0.11.0-SNAPSHOT" its not available on release repository

I think its in linked java folder and need to build it but im kinda new to such cross language, it looks failing on getting ClassResolver.writeClassInfo, do you know how to fix it locally ?

Platob avatar May 13 '25 05:05 Platob

I think its in linked java folder and need to build it but im kinda new to such cross language, it looks failing on getting ClassResolver.writeClassInfo, do you know how to fix it locally ?

You could install fury java first by:

cd java
mvn -T10 clean install -DskipTests
cd -

Then you can execute scala tests:

cd scala
sbt +test 

chaokunyang avatar May 13 '25 06:05 chaokunyang