Skip to content

Commit ed72c80

Browse files
committed
Bump version to 2.10.8 release and 2.10.9-SNAPSHOT after the release.
1 parent 82865d9 commit ed72c80

8 files changed

Lines changed: 36 additions & 18 deletions

File tree

README.md

Lines changed: 29 additions & 11 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.10.7</pre>
78+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.10.8</pre>
7979
</td>
8080
<td>
81-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.10.7</pre>
81+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.10.8</pre>
8282
</td>
8383
<td>
84-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.10.7</pre>
84+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.10.8</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.10.7
95+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.10.8
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.10.7
100+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.8
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.10.7
105+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.10.8
106106
```
107107

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

232232
The jars that you need to get are:
233233

234-
* spark-cobol_2.12-2.10.7.jar
235-
* cobol-parser_2.12-2.10.7.jar
234+
* spark-cobol_2.12-2.10.8.jar
235+
* cobol-parser_2.12-2.10.8.jar
236236

237237
> 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`.
238238
239239
> Versions older than 2.7.1 also need `antlr4-runtime-4.8.jar`.
240240
241241
After that you can specify these jars in `spark-shell` command line. Here is an example:
242242
```
243-
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.7
243+
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.8
244244
or
245-
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.10.7.jar,cobol-parser_2.12-2.10.7.jar
245+
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.10.8.jar,cobol-parser_2.12-2.10.8.jar
246246
247247
Setting default log level to "WARN".
248248
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
@@ -310,7 +310,7 @@ The fat jar will have '-bundle' suffix. You can also download pre-built bundles
310310

311311
Then, run `spark-shell` or `spark-submit` adding the fat jar as the option.
312312
```sh
313-
$ spark-shell --jars spark-cobol_2.12_3.3-2.10.8-SNAPSHOT-bundle.jar
313+
$ spark-shell --jars spark-cobol_2.12_3.3-2.10.9-SNAPSHOT-bundle.jar
314314
```
315315

316316
> <b>A note for building and running tests on Windows</b>
@@ -2137,6 +2137,24 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608)
21372137
A: Update hadoop dll to version 3.2.2 or newer.
21382138
21392139
## Changelog
2140+
- #### 2.10.8 released 3 August 2026.
2141+
- [#862](https://github.com/AbsaOSS/cobrix/pull/862) Custom options that start with `_custom` or just `_` are ignored in pedantic mode:
2142+
```scala
2143+
spark.read
2144+
.format("cobol")
2145+
.option("record_extractor", "com.example.CustomRecordExtractor")
2146+
.option("pedantic", "true")
2147+
.option("custom_option1", "value1")
2148+
.option("_option2", "value2")
2149+
```
2150+
- [#863](https://github.com/AbsaOSS/cobrix/pull/863) Added support for custom AST transformers via the `ast_transformers` option:
2151+
```scala
2152+
spark.read
2153+
.format("cobol")
2154+
.option("ast_transformers", "com.example.CustomASTTransformer")
2155+
```
2156+
- [#727](https://github.com/AbsaOSS/cobrix/pull/727) Fixed parsing of '88 VALUE1 VALUE +999.9999.' statement that threw 'SytnaxErrorException'.
2157+
21402158
- #### 2.10.7 released 27 July 2026.
21412159
- [#857](https://github.com/AbsaOSS/cobrix/pull/857) Added the ability to specify record limit as an option for Cobrix. Thanks @lokm01!
21422160
```scala

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.10.8-SNAPSHOT</version>
25+
<version>2.10.9-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.10.8-SNAPSHOT</version>
25+
<version>2.10.9-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.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.10.7</spark.cobol.version>
34+
<spark.cobol.version>2.10.8</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.10.7"
23+
val sparkCobolVersion = "2.10.8"
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.10.7</spark.cobol.version>
34+
<spark.cobol.version>2.10.8</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.10.8-SNAPSHOT</version>
25+
<version>2.10.9-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.10.8-SNAPSHOT</version>
25+
<version>2.10.9-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

0 commit comments

Comments
 (0)