diff --git a/CHANGES.md b/CHANGES.md index 0beee2133..4e9752c75 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,9 @@ # Release Notes -## 0.17.1 - 2020-08-xx +## 0.17.2 - 2020-09-10 +* PR #239: Ensuring that the BigQuery client will have the proper project id + +## 0.17.1 - 2020-08-06 * Issue #216: removed redundant ALPN dependency * Issue #219: Fixed the LessThanOrEqual filter SQL compilation in the DataSource v2 implmentation * Issue #221: Fixed ProtobufUtilsTest.java with newer BigQuery dependencies diff --git a/README.md b/README.md index 1e8ac523d..6f8a0ab08 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ repository. It can be used using the `--packages` option or the | Scala version | Connector Artifact | | --- | --- | -| Scala 2.11 | `com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.1` | -| Scala 2.12 | `com.google.cloud.spark:spark-bigquery-with-dependencies_2.12:0.17.1` | +| Scala 2.11 | `com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.2` | +| Scala 2.12 | `com.google.cloud.spark:spark-bigquery-with-dependencies_2.12:0.17.2` | ## Hello World Example @@ -595,7 +595,7 @@ using the following code: ```python from pyspark.sql import SparkSession spark = SparkSession.builder\ - .config("spark.jars.packages", "com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.1")\ + .config("spark.jars.packages", "com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.2")\ .getOrCreate() df = spark.read.format("bigquery")\ .load("dataset.table") @@ -604,7 +604,7 @@ df = spark.read.format("bigquery")\ **Scala:** ```python val spark = SparkSession.builder - .config("spark.jars.packages", "com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.1") + .config("spark.jars.packages", "com.google.cloud.spark:spark-bigquery-with-dependencies_2.11:0.17.2") .getOrCreate() val df = spark.read.format("bigquery") .load("dataset.table") @@ -612,7 +612,7 @@ val df = spark.read.format("bigquery") In case Spark cluster is using Scala 2.12 (it's optional for Spark 2.4.x, mandatory in 3.0.x), then the relevant package is -com.google.cloud.spark:spark-bigquery-with-dependencies_**2.12**:0.17.1. In +com.google.cloud.spark:spark-bigquery-with-dependencies_**2.12**:0.17.2. In order to know which Scala version is used, please run the following code: **Python:** @@ -636,14 +636,14 @@ To include the connector in your project: com.google.cloud.spark spark-bigquery-with-dependencies_${scala.version} - 0.17.1 + 0.17.2 ``` ### SBT ```sbt -libraryDependencies += "com.google.cloud.spark" %% "spark-bigquery-with-dependencies" % "0.17.1" +libraryDependencies += "com.google.cloud.spark" %% "spark-bigquery-with-dependencies" % "0.17.2" ``` ## Building the Connector diff --git a/build.sbt b/build.sbt index a52ee4c25..7857e51e5 100644 --- a/build.sbt +++ b/build.sbt @@ -24,7 +24,7 @@ lazy val nettyTcnativeVersion = "2.0.29.Final" lazy val commonSettings = Seq( organization := "com.google.cloud.spark", - version := "0.17.2-SNAPSHOT", + version := "0.17.2", scalaVersion := scala211Version, crossScalaVersions := Seq(scala211Version, scala212Version) )