How to build with Scala 2.12?
See original GitHub issueI’m currently trying to build this package with Scala 2.12 and not 2.11. It’s my first time working with a POM so I wasn’t sure how to proceed.
The reason why I’m trying to build the package with this Scala version is because we’re currently using the connector in our Databricks cluster running Databricks Runtime 7.0 + Spark 3.0. The runtime uses Scala 2.12. We were having some issues with the connector and it seems to be compatibility issues with Spark 3.0. There was currently a fix made in PR #520 that would resolve the error, but it won’t be out until the next release.
I tried just changing the Scala version from 2.11 to 2.12 and Spark version from 2.3.3 to 3.0.0 but that gave me the following errors:
object SharedSQLContext is not a member of package org.apache.spark.sql.test
The other errors were similar, stating how certain objects were not members of certain packages.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
@nyaghma hey it turns out, that job was actually supposed to hang. So everything works now! Thanks for all your help 😃
Ok, then we need to look into the code and stack trace to find out what causes the issue. I’d be happy to help if you can share those with me.