Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Added support for Spark 2.4.0 and Scala 2.12. #69

Merged
nevillelyh merged 2 commits into
spotify:masterfrom
mrksmb:master
Mar 21, 2019
Merged

Added support for Spark 2.4.0 and Scala 2.12. #69
nevillelyh merged 2 commits into
spotify:masterfrom
mrksmb:master

Conversation

@mrksmb

@mrksmb mrksmb commented Mar 21, 2019

Copy link
Copy Markdown
Contributor

Adjusted code slightly since Databricks Avro library moved into Spark with small syntax changes.

markus-braasch-ck and others added 2 commits March 21, 2019 16:51
…since Databricks Avro library moved into Spark with small syntax changes.
@nevillelyh nevillelyh merged commit ee9136b into spotify:master Mar 21, 2019
@nevillelyh

Copy link
Copy Markdown
Contributor

Just realized that spark-avro is not available for Scala 2.12. How did you get this to work in your build?
https://mvnrepository.com/artifact/com.databricks/spark-avro

@mrksmb

mrksmb commented Mar 22, 2019

Copy link
Copy Markdown
Contributor Author

It compiled fine, but I have yet to test the code change. Plan to do that today and will make adjustments if necessary.

@markus-braasch-ck

markus-braasch-ck commented Mar 27, 2019

Copy link
Copy Markdown

Neville, I think Databricks donated the Avro library to Spark. Adding it as a dependency like this seems to work for me:
libraryDependencies ++= Seq( "org.apache.spark" %% "spark-avro" % sparkVersion )

https://mvnrepository.com/artifact/org.apache.spark/spark-avro

@ogirardot

Copy link
Copy Markdown

hi, thx for that, was the version published ?

@regadas

regadas commented Apr 26, 2019

Copy link
Copy Markdown

It wasn't yet, I think we will do it next week.

lverzosa added a commit to lverzosa/spark-bigquery that referenced this pull request Apr 26, 2019
…lightly since Databricks Avro library moved into Spark with small syntax changes. (spotify#69)"

This reverts commit ee9136b.
lverzosa added a commit to lverzosa/spark-bigquery that referenced this pull request May 1, 2019
* Updating versions

* Revert "Update README.md"

This reverts commit 55c75ec.

* Revert "Added support for Spark 2.4.0 and Scala 2.12. Adjusted code slightly since Databricks Avro library moved into Spark with small syntax changes. (spotify#69)"

This reverts commit ee9136b.

* Revert "Update README.md (spotify#68)"

This reverts commit a2d5a63.

* Revert "Create daily partitioned table when necessary (spotify#67)"

This reverts commit f5b4815.

* Revert "Add maintenance mode notice"

This reverts commit ab8fd9c.

* Revert "Enable user to specify write options, hinting about issues with nested records (spotify#59)"

This reverts commit 7f65455.

* Revert "Configuration parameter for intermediate dataset id (spotify#63)"

This reverts commit a0ecb3f.

* Revert "Make a defensive copy to stop polution of sparkconf (spotify#60)"

This reverts commit ffcd9a6.

* Revert "Support setting query job priority (spotify#54)"

This reverts commit 07e012a.

* Fixing GoogleCredentials to use supplied file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants