Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Conversation

@vikatskhay
Copy link
Contributor

Hello.

Related to #141 (comment)

Not sure whether it'd be better to support multiple scala versions, perhaps introducing multiple profiles could be a good idea. As I understood from the comments #141 scala 2.11 could be left behind. Please let me know if I understood it incorrectly.

Tested with:

mvn clean install

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

}

object DefaultSource {
object DefaultSource extends scala.Serializable {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dir.mkdirs()
// The path to the partition file.
val filePath = localPath + s"/part-" + String.format("%05d", new java.lang.Integer(index))
val filePath = localPath + s"/part-" + String.format("%05d", java.lang.Integer.valueOf(index))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Constructor of Integer is deprecated, with -Xfatal-warnings the build fails.

@vikatskhay
Copy link
Contributor Author

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@jhseu
Copy link
Contributor

jhseu commented Apr 27, 2020

@skavulya Mind taking a look?

@groodt
Copy link
Contributor

groodt commented Apr 30, 2020

I would really like a Scala 2.12 version to be published as well.

@skavulya
Copy link
Contributor

@vikatskhay Thanks for the contribution. It looks good.
@jhseu The PR is ready for merge.

@vikatskhay
Copy link
Contributor Author

Thanks heaps for reviewing this PR. What should be my next steps to get it merged?

@jhseu jhseu merged commit ce03e30 into tensorflow:master May 5, 2020
@vikatskhay vikatskhay deleted the support-scala-2.12-spark-2.4 branch May 6, 2020 01:40
@vikatskhay
Copy link
Contributor Author

Quick question: when could the new version be released including this change?

@groodt
Copy link
Contributor

groodt commented May 11, 2020

@jhseu @skavulya Does there need to be a new release to maven central now that this has been merged?

@skavulya
Copy link
Contributor

maven central gets updated whenever a new TensorFlow version is released

@groodt
Copy link
Contributor

groodt commented May 14, 2020

maven central gets updated whenever a new TensorFlow version is released

Hmmm... is there a technical reason for this? It doesn't seem to be the case though, since there have been numerous TensorFlow releases since Aug 2018, but Maven central is showing that the last time this connector was released was in Aug 2018.

https://mvnrepository.com/artifact/org.tensorflow/spark-connector_2.11/1.10.0

@skavulya
Copy link
Contributor

The connector is https://mvnrepository.com/artifact/org.tensorflow/spark-tensorflow-connector

There is no update since TensorFlow 2.0

@jhseu What would we need to do to update the release scripts?

@NitinAgg
Copy link

It seems this did not get updated with TF 2.2.

@vikatskhay
Copy link
Contributor Author

Would be so great to get this out on maven central.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants