Re: Upgrading to Scala 2.12

2019-01-22 Thread Luciano Resende
On Tue, Jan 22, 2019 at 2:54 AM Łukasz Antoniak
 wrote:
>
> Team,
>
> Since version 2.4.0 Spark team decided to introduce support for Scala 2.12
> and remain 2.11 for backward compatibility. As part of BAHIR-107, I have
> been working to upgrade code base to Scala 2.12 and Spark 2.4.0 (
> https://github.com/apache/bahir/pull/76/files). Do we plan to continue
> support for Scala 2.11? In my opinion, Bahir should follow Spark in terms
> of Scala binary compatibility. I have already checked that transitive
> dependencies that I had to upgrade (org.json4s:json4s-jackson and
> com.twitter:algebird-core) provide artifacts for both - Scala 2.11 and 2.12.
>
> Lukasz

+1 for maintaining compatibility as possible...

As for the publish code, please look into dev/release-build.sh on how
we publish releases and snapshots to accommodate the 2.11 and 2.12
Scala versions.

-- 
Luciano Resende
http://twitter.com/lresende1975
http://lresende.blogspot.com/


Re: Upgrading to Scala 2.12

2019-01-22 Thread Ted Yu
+1 on keeping backward compatibility with Scala 2.11
 Original message From: Łukasz Antoniak 
 Date: 1/22/19  2:54 AM  (GMT-08:00) To: 
dev@bahir.apache.org Subject: Upgrading to Scala 2.12 
Team,

Since version 2.4.0 Spark team decided to introduce support for Scala 2.12
and remain 2.11 for backward compatibility. As part of BAHIR-107, I have
been working to upgrade code base to Scala 2.12 and Spark 2.4.0 (
https://github.com/apache/bahir/pull/76/files). Do we plan to continue
support for Scala 2.11? In my opinion, Bahir should follow Spark in terms
of Scala binary compatibility. I have already checked that transitive
dependencies that I had to upgrade (org.json4s:json4s-jackson and
com.twitter:algebird-core) provide artifacts for both - Scala 2.11 and 2.12.

Lukasz


Upgrading to Scala 2.12

2019-01-22 Thread Łukasz Antoniak
Team,

Since version 2.4.0 Spark team decided to introduce support for Scala 2.12
and remain 2.11 for backward compatibility. As part of BAHIR-107, I have
been working to upgrade code base to Scala 2.12 and Spark 2.4.0 (
https://github.com/apache/bahir/pull/76/files). Do we plan to continue
support for Scala 2.11? In my opinion, Bahir should follow Spark in terms
of Scala binary compatibility. I have already checked that transitive
dependencies that I had to upgrade (org.json4s:json4s-jackson and
com.twitter:algebird-core) provide artifacts for both - Scala 2.11 and 2.12.

Lukasz