spark-bigquery (homepage)

Google BigQuery data source for Apache Spark

spark-bigquery provides a Google BigQuery data source to Apache Spark using the new Google Cloud client libraries for the Google BigQuery API. It supports "direct" import/export where records are directly streamed from/to BigQuery. In addition, data may be imported/exported via intermediate data extracts on Google Cloud Storage (GCS).


  • 1|BigQuery
  • 1|google-cloud

How to

Include this package in your Spark Applications using:

spark-shell, pyspark, or spark-submit

> $SPARK_HOME/bin/spark-shell --packages miraisolutions:spark-bigquery:0.1.1-s_2.11


If you use the sbt-spark-package plugin, in your sbt build file, add:

spDependencies += "miraisolutions/spark-bigquery:0.1.1-s_2.11"


resolvers += "Spark Packages Repo" at ""

libraryDependencies += "miraisolutions" % "spark-bigquery" % "0.1.1-s_2.11"


In your pom.xml, add:
  <!-- list of dependencies -->
  <!-- list of other repositories -->


Version: 0.1.1-s_2.11 ( 4eac69 | zip | jar ) / Date: 2019-06-07 / License: MIT

Version: 0.1.0-s_2.11 ( e19e1a | zip | jar ) / Date: 2018-07-31 / License: MIT