Skip to content

Commit f43f69b

Browse files
committed
Update README and examples after the release.
1 parent 11f9892 commit f43f69b

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

README.md

+14-10
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.8.0</pre>
77+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.8.1</pre>
7878
</td>
7979
<td>
80-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.8.0</pre>
80+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.8.1</pre>
8181
</td>
8282
<td>
83-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.8.0</pre>
83+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.8.1</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.8.0
94+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.8.1
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.8.0
99+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.8.1
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.8.0
104+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.8.1
105105
```
106106

107107
## Usage
@@ -237,18 +237,18 @@ Cobrix's `spark-cobol` data source depends on the COBOL parser that is a part of
237237

238238
The jars that you need to get are:
239239

240-
* spark-cobol_2.12-2.8.0.jar
241-
* cobol-parser_2.12-2.8.0.jar
240+
* spark-cobol_2.12-2.8.1.jar
241+
* cobol-parser_2.12-2.8.1.jar
242242

243243
> Versions older than 2.8.0 also need `scodec-core_2.12-1.10.3.jar` and `scodec-bits_2.12-1.1.4.jar`.
244244
245245
> Versions older than 2.7.1 also need `antlr4-runtime-4.8.jar`.
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.8.0
249+
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.8.1
250250
or
251-
$ 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
251+
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.8.1.jar,cobol-parser_2.12-2.8.1.jar
252252
253253
Setting default log level to "WARN".
254254
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
@@ -1784,6 +1784,10 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608)
17841784
A: Update hadoop dll to version 3.2.2 or newer.
17851785

17861786
## Changelog
1787+
- #### 2.8.1 released 27 January 2025.
1788+
- [#730](https://github.com/AbsaOSS/cobrix/issues/730) Added more code pages with euro character in https://github.com/AbsaOSS/cobrix/pull/741.
1789+
- [#740](https://github.com/AbsaOSS/cobrix/issues/740) Extended binary type support to make sure unsigned binary fields can fit Spark data types in https://github.com/AbsaOSS/cobrix/pull/742.
1790+
17871791
- #### 2.8.0 released 8 January 2025.
17881792
- [#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.
17891793

examples/examples-collection/pom.xml

+1-1
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.8.0</spark.cobol.version>
34+
<spark.cobol.version>2.8.1</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

examples/spark-cobol-app/build.sbt

+1-1
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.8.0"
23+
val sparkCobolVersion = "2.8.1"
2424
val scalatestVersion = "3.2.14"
2525

2626
ThisBuild / libraryDependencies ++= Seq(

examples/spark-cobol-app/pom.xml

+1-1
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.8.0</spark.cobol.version>
34+
<spark.cobol.version>2.8.1</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

0 commit comments

Comments
 (0)