Skip to content

Commit ead14f5

Browse files
committed
Update spark-cobol version to 2.10.0 in pom.xml, build.sbt, and README
1 parent 61a6ea0 commit ead14f5

File tree

4 files changed

+32
-13
lines changed

4 files changed

+32
-13
lines changed

README.md

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ You can link against this library in your program at the following coordinates:
7575
</tr>
7676
<tr>
7777
<td>
78-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.9.9</pre>
78+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.10.0</pre>
7979
</td>
8080
<td>
81-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.9.9</pre>
81+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.10.0</pre>
8282
</td>
8383
<td>
84-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.9.9</pre>
84+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.10.0</pre>
8585
</td>
8686
</tr>
8787
</table>
@@ -92,17 +92,17 @@ This package can be added to Spark using the `--packages` command line option. F
9292

9393
### Spark compiled with Scala 2.11
9494
```
95-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.9.9
95+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.10.0
9696
```
9797

9898
### Spark compiled with Scala 2.12
9999
```
100-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.9.9
100+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.0
101101
```
102102

103103
### Spark compiled with Scala 2.13
104104
```
105-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.9.9
105+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.10.0
106106
```
107107

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

241241
The jars that you need to get are:
242242

243-
* spark-cobol_2.12-2.9.9.jar
244-
* cobol-parser_2.12-2.9.9.jar
243+
* spark-cobol_2.12-2.10.0.jar
244+
* cobol-parser_2.12-2.10.0.jar
245245

246246
> 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`.
247247
248248
> Versions older than 2.7.1 also need `antlr4-runtime-4.8.jar`.
249249
250250
After that you can specify these jars in `spark-shell` command line. Here is an example:
251251
```
252-
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.9.9
252+
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.0
253253
or
254-
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.9.9.jar,cobol-parser_2.12-2.9.9.jar
254+
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.10.0.jar,cobol-parser_2.12-2.10.0.jar
255255
256256
Setting default log level to "WARN".
257257
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
@@ -1982,6 +1982,25 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608)
19821982
A: Update hadoop dll to version 3.2.2 or newer.
19831983
19841984
## Changelog
1985+
- #### 2.10.0 released 11 March 2026.
1986+
- [#826](https://github.com/AbsaOSS/cobrix/pull/826) Added support for writing VRL files with RDW headers.
1987+
```scala
1988+
df.write
1989+
.format("cobol")
1990+
.option("record_format", "V")
1991+
.save(path)
1992+
```
1993+
- [#828](https://github.com/AbsaOSS/cobrix/pull/828) Added support for structs and arrays in EBCDIC writer.
1994+
- [#797](https://github.com/AbsaOSS/cobrix/pull/797) Added support for variable-sized OCCURS when writing EBCDIC files.
1995+
```scala
1996+
df.write
1997+
.format("cobol")
1998+
.option("variable_size_occurs", "true")
1999+
.save(path)
2000+
```
2001+
- [#833](https://github.com/AbsaOSS/cobrix/pull/833) Added strict schema check option for the EBCDIC writer
2002+
(`.option("strict_schema", "true)` [default]).
2003+
19852004
- #### 2.9.9 released 24 February 2026.
19862005
- [#822](https://github.com/AbsaOSS/cobrix/pull/822) Allow '_corrupt_records' to extract data in HEX instead of binary data type.
19872006
```scala

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.12</scala.compat.version>
3232
<spark.version>3.5.7</spark.version>
3333
<specs.version>2.4.16</specs.version>
34-
<spark.cobol.version>2.9.9</spark.cobol.version>
34+
<spark.cobol.version>2.10.0</spark.cobol.version>
3535
<scodec_core.version>1.11.10</scodec_core.version>
3636
</properties>
3737

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.20"
2121

2222
val sparkVersion = "3.5.7"
23-
val sparkCobolVersion = "2.9.9"
23+
val sparkCobolVersion = "2.10.0"
2424
val scalatestVersion = "3.2.19"
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.19</scalatest.version>
3333
<spark.version>3.5.7</spark.version>
34-
<spark.cobol.version>2.9.9</spark.cobol.version>
34+
<spark.cobol.version>2.10.0</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

0 commit comments

Comments
 (0)