Skip to content

Commit 7144e80

Browse files
authored
Merge pull request #738 from AbsaOSS/release/2.8.0
Release Cobrix v2.8.0
2 parents 0b4d7bb + 7d06524 commit 7144e80

File tree

9 files changed

+22
-19
lines changed

9 files changed

+22
-19
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ You can link against this library in your program at the following coordinates:
7474
</tr>
7575
<tr>
7676
<td>
77-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.7.10</pre>
77+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.8.0</pre>
7878
</td>
7979
<td>
80-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.7.10</pre>
80+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.8.0</pre>
8181
</td>
8282
<td>
83-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.7.10</pre>
83+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.8.0</pre>
8484
</td>
8585
</tr>
8686
</table>
@@ -91,17 +91,17 @@ This package can be added to Spark using the `--packages` command line option. F
9191

9292
### Spark compiled with Scala 2.11
9393
```
94-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.10
94+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.8.0
9595
```
9696

9797
### Spark compiled with Scala 2.12
9898
```
99-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.10
99+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.8.0
100100
```
101101

102102
### Spark compiled with Scala 2.13
103103
```
104-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.10
104+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.8.0
105105
```
106106

107107
## Usage
@@ -246,7 +246,7 @@ The jars that you need to get are:
246246
247247
After that you can specify these jars in `spark-shell` command line. Here is an example:
248248
```
249-
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.10
249+
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.8.0
250250
or
251251
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.8.0.jar,cobol-parser_2.12-2.8.0.jar
252252
@@ -319,7 +319,7 @@ The fat jar will have '-bundle' suffix. You can also download pre-built bundles
319319

320320
Then, run `spark-shell` or `spark-submit` adding the fat jar as the option.
321321
```sh
322-
$ spark-shell --jars spark-cobol_2.12_3.3-2.7.11-SNAPSHOT-bundle.jar
322+
$ spark-shell --jars spark-cobol_2.12_3.3-2.8.1-SNAPSHOT-bundle.jar
323323
```
324324

325325
> <b>A note for building and running tests on Windows</b>
@@ -1778,6 +1778,9 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608)
17781778
A: Update hadoop dll to version 3.2.2 or newer.
17791779

17801780
## Changelog
1781+
- #### 2.8.0 released 8 January 2025.
1782+
- [#258](https://github.com/AbsaOSS/cobrix/issues/258) Removed dependency on `scodec` so that it doesn't cause conflicts with Spark distributions and other libraries.
1783+
17811784
- #### 2.7.10 released 19 December 2024.
17821785
- [#728](https://github.com/AbsaOSS/cobrix/issues/728) Added CP1145 code page (Spain and Latin America).
17831786
- [#731](https://github.com/AbsaOSS/cobrix/issues/731) Added an option to copy data type when copying metadata.
@@ -1872,6 +1875,9 @@ A: Update hadoop dll to version 3.2.2 or newer.
18721875
.option("enable_indexes", "true") // true by default so can me omitted
18731876
```
18741877

1878+
<details><summary>Older versions</summary>
1879+
<p>
1880+
18751881
- #### 2.6.11 released 8 April 2024.
18761882
- [#659](https://github.com/AbsaOSS/cobrix/issues/659) Fixed record length option when record id generation is turned on.
18771883

@@ -1931,9 +1937,6 @@ A: Update hadoop dll to version 3.2.2 or newer.
19311937
- [#521](https://github.com/AbsaOSS/cobrix/issues/521) Fixed index generation and improved performance of variable
19321938
block length files processing (record_format='VB').
19331939

1934-
<details><summary>Older versions</summary>
1935-
<p>
1936-
19371940
- #### 2.5.1 released 24 August 2022.
19381941
- [#510](https://github.com/AbsaOSS/cobrix/issues/510) Fixed dropping of FILLER fields in Spack Schema if the FILLER has OCCURS of GROUPS.
19391942

cobol-converters/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.7.11-SNAPSHOT</version>
25+
<version>2.8.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

cobol-parser/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.7.11-SNAPSHOT</version>
25+
<version>2.8.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

examples/examples-collection/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<scala.compat.version>2.11</scala.compat.version>
3232
<spark.version>2.4.8</spark.version>
3333
<specs.version>2.4.16</specs.version>
34-
<spark.cobol.version>2.7.10</spark.cobol.version>
34+
<spark.cobol.version>2.8.0</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

examples/spark-cobol-app/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT"
2020
ThisBuild / scalaVersion := "2.12.17"
2121

2222
val sparkVersion = "3.5.3"
23-
val sparkCobolVersion = "2.7.10"
23+
val sparkCobolVersion = "2.8.0"
2424
val scalatestVersion = "3.2.14"
2525

2626
ThisBuild / libraryDependencies ++= Seq(

examples/spark-cobol-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<scala.compat.version>2.12</scala.compat.version>
3232
<scalatest.version>3.2.14</scalatest.version>
3333
<spark.version>3.5.3</spark.version>
34-
<spark.cobol.version>2.7.10</spark.cobol.version>
34+
<spark.cobol.version>2.8.0</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<groupId>za.co.absa.cobrix</groupId>
2323
<artifactId>cobrix_2.12</artifactId>
2424

25-
<version>2.7.11-SNAPSHOT</version>
25+
<version>2.8.1-SNAPSHOT</version>
2626

2727
<packaging>pom</packaging>
2828

spark-cobol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.7.11-SNAPSHOT</version>
25+
<version>2.8.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "2.8.0-SNAPSHOT"
1+
ThisBuild / version := "2.8.1-SNAPSHOT"

0 commit comments

Comments
 (0)