Skip to content

Commit

Permalink
Update version to 6.3.0 and supporting docs for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsharifi committed Jul 3, 2024
1 parent e9e92a3 commit 74be84e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@

# spark-redshift Changelog

## 6.3.0 (2024-07-03)
- Validates connector tests pass with Spark releases 3.4.3 and 3.5.1 [Beaux Sharifi]
- Adds support for three-part table names to allow connector to query Redshift data sharing tables (#153) [Prashant Singh, Beaux Sharifi]
- Corrects mapping of Spark ShortType to use Redshift SMALLINT instead of INTEGER to better match expected data size (#152) [Akira Ajisaka, Ruei Huang]
- Adds pushdown of toprettystring() function to support df.show() operations used by Spark 3.5 [Beaux Sharifi]
- Corrects pushdown of inner joins with no join condition to result in a cross join instead of an invalid inner join [Beaux Sharifi]
- Corrects pushdown when casting null boolean values to strings to result in the value null instead of the string "null". [Beaux Sharifi]
- Upgrades Redshift JDBC driver to the latest available version 2.1.0.29. [Beaux Sharifi]

## 6.2.0 (2024-01-12)
- Validates support for Spark 3.3.4 and Spark 3.4.2
- Upgrades Redshift JDBC driver to version 2.1.0.24
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ You may use this library in your applications with the following dependency info
spark-submit \
--deploy-mode cluster \
--master yarn \
--packages com.amazon.redshift:redshift-jdbc42:2.1.0.29,org.apache.spark:spark-avro_2.12:3.5.1,io.github.spark-redshift-community:spark-redshift_2.12:6.2.0-spark_3.5 \
--packages com.amazon.redshift:redshift-jdbc42:2.1.0.29,org.apache.spark:spark-avro_2.12:3.5.1,io.github.spark-redshift-community:spark-redshift_2.12:6.3.0-spark_3.5 \
my_script.py
```

Expand All @@ -114,14 +114,14 @@ You may use this library in your applications with the following dependency info
<dependency>
<groupId>io.github.spark-redshift-community</groupId>
<artifactId>spark-redshift_2.12</artifactId>
<version>6.2.0-spark_3.5</version>
<version>6.3.0-spark_3.5</version>
</dependency>
```

- **In SBT**:

```SBT
libraryDependencies += "io.github.spark-redshift-community" %% "spark-redshift_2.12" % "6.2.0-spark_3.5"
libraryDependencies += "io.github.spark-redshift-community" %% "spark-redshift_2.12" % "6.3.0-spark_3.5"
```


Expand Down Expand Up @@ -816,7 +816,7 @@ for more information.</p>
<td>""</td>
<td>
An identifier to include in the query group set when running queries with the connector. Should be 100 or fewer characters and all characters must be valid unicodeIdentifierParts. Characters in excess of 100 will be trimmed.
When running a query with the connector a json formatted string will be set as the query group (for example `{"spark-redshift-connector":{"svc":"","ver":"6.2.0-spark_3.5","op":"Read","lbl":"","tid":""}}`).
When running a query with the connector a json formatted string will be set as the query group (for example `{"spark-redshift-connector":{"svc":"","ver":"6.3.0-spark_3.5","op":"Read","lbl":"","tid":""}}`).
This option will be substituted for the value of the `lbl` key.
</td>
</tr></table>
Expand Down Expand Up @@ -924,7 +924,7 @@ SET spark.datasource.redshift.community.autopushdown.lazyMode=false
### trace_id
A new tracing identifier field that is added to the existing `label` parameter. When set, the provided string value will be used as part of label. Otherwise, it will default to the Spark application identifier. For example:
`{"spark-redshift-connector":{"svc":"","ver":"6.2.0-spark_3.5","op":"Read","lbl":"","tid":"..."}}`)
`{"spark-redshift-connector":{"svc":"","ver":"6.3.0-spark_3.5","op":"Read","lbl":"","tid":"..."}}`)
To set the value, run the following command:
```sparksql
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
* limitations under the License.
*/

ThisBuild / version := "6.2.0"
ThisBuild / version := "6.3.0"

0 comments on commit 74be84e

Please sign in to comment.