Skip to content

Commit a3c66d3

Browse files
authored
Merge pull request #26 from AbsaOSS/prep_release_0_2_2
Release spark-hats 0.2.2
2 parents 2bc8087 + 53dc5ba commit a3c66d3

File tree

8 files changed

+13
-6
lines changed

8 files changed

+13
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
#
1515

16-
name: Run Tests
16+
name: Build
1717

1818
on:
1919
push:

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# spark-hats
2+
[![Build](https://github.com/AbsaOSS/spark-hats/workflows/Build/badge.svg)](https://github.com/AbsaOSS/spark-hats/actions)
23

34
Spark "**H**elpers for **A**rray **T**ransformation**s**"
45

@@ -14,15 +15,15 @@ Reference the library
1415
```
1516
groupId: za.co.absa
1617
artifactId: spark-hats_2.11
17-
version: 0.2.1
18+
version: 0.2.2
1819
```
1920

2021
### Scala 2.12 [![Maven Central](https://maven-badges.herokuapp.com/maven-central/za.co.absa/spark-hats_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/za.co.absa/spark-hats_2.12)
2122

2223
```
2324
groupId: za.co.absa
2425
artifactId: spark-hats_2.12
25-
version: 0.2.1
26+
version: 0.2.2
2627
```
2728

2829
Please, use the table below to determine what version of spark-hats to use for Spark compatibility.
@@ -253,6 +254,9 @@ root
253254
Note that the output schema doesn't have the `c` struct. All fields of `c` are now part of the parent struct.
254255

255256
## Changelog
257+
- #### 0.2.2 released 8 March 2021.
258+
- [#23](https://github.com/AbsaOSS/spark-hats/issues/23) Added `nestedUnstruct()` method that flattens one level of nesting for a given struct.
259+
256260
- #### 0.2.1 released 21 January 2020.
257261
- [#10](https://github.com/AbsaOSS/spark-hats/issues/10) Fixed error column aggregation when the input array is `null`.
258262

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0")
1818
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.12")
19-
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
19+
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
2020

publish.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ThisBuild / developers := List(
3535

3636
ThisBuild / homepage := Some(url("https://github.com/AbsaOSS/spark-hats"))
3737
ThisBuild / description := "Spark extensions for working with nested arrays and structs"
38-
ThisBuild / startYear := Some(2019)
38+
ThisBuild / startYear := Some(2020)
3939
ThisBuild / licenses += "Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")
4040

4141
ThisBuild / pomIncludeRepository := { _ => false }

src/test/scala/za/co/absa/spark/hats/transformations/ExtendedTransformationsSuite.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7+
*
78
* http://www.apache.org/licenses/LICENSE-2.0
89
*
910
* Unless required by applicable law or agreed to in writing, software

src/test/scala/za/co/absa/spark/hats/transformations/samples/NestedMapTestCaseFactory.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7+
*
78
* http://www.apache.org/licenses/LICENSE-2.0
89
*
910
* Unless required by applicable law or agreed to in writing, software

src/test/scala/za/co/absa/spark/hats/transformations/samples/NestedTestCaseFactory.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7+
*
78
* http://www.apache.org/licenses/LICENSE-2.0
89
*
910
* Unless required by applicable law or agreed to in writing, software

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
* limitations under the License.
1515
*/
1616

17-
version in ThisBuild := "0.2.2-SNAPSHOT"
17+
version in ThisBuild := "0.2.3-SNAPSHOT"

0 commit comments

Comments
 (0)