diff --git a/README.md b/README.md index 4318c8bf5..dbbbdd572 100644 --- a/README.md +++ b/README.md @@ -74,13 +74,13 @@ You can link against this library in your program at the following coordinates: -
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.5
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.6
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.5
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.6
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.5
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.6
@@ -91,17 +91,17 @@ This package can be added to Spark using the `--packages` command line option. F ### Spark compiled with Scala 2.11 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.5 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.6 ``` ### Spark compiled with Scala 2.12 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.5 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.6 ``` ### Spark compiled with Scala 2.13 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.5 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.6 ``` ## Usage @@ -238,8 +238,8 @@ to decode various binary formats. The jars that you need to get are: -* spark-cobol_2.12-2.7.5.jar -* cobol-parser_2.12-2.7.5.jar +* spark-cobol_2.12-2.7.6.jar +* cobol-parser_2.12-2.7.6.jar * scodec-core_2.12-1.10.3.jar * scodec-bits_2.12-1.1.4.jar @@ -247,9 +247,9 @@ The jars that you need to get are: After that you can specify these jars in `spark-shell` command line. Here is an example: ``` -$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.5 +$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.6 or -$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.5.jar,cobol-parser_2.12-2.7.5.jar,scodec-core_2.12-1.10.3.jar,scodec-bits_2.12-1.1.4.jar +$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.6.jar,cobol-parser_2.12-2.7.6.jar,scodec-core_2.12-1.10.3.jar,scodec-bits_2.12-1.1.4.jar Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). @@ -320,7 +320,7 @@ The fat jar will have '-bundle' suffix. You can also download pre-built bundles Then, run `spark-shell` or `spark-submit` adding the fat jar as the option. ```sh -$ spark-shell --jars spark-cobol_2.12_3.3-2.7.6-SNAPSHOT-bundle.jar +$ spark-shell --jars spark-cobol_2.12_3.3-2.7.7-SNAPSHOT-bundle.jar ``` > A note for building and running tests on Windows @@ -1771,6 +1771,14 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608) A: Update hadoop dll to version 3.2.2 or newer. ## Changelog +- #### 2.7.6 released 26 September 2024. + - [#710](https://github.com/AbsaOSS/cobrix/issues/710) Fix index generation for files with record length fields or expressions. + - [#712](https://github.com/AbsaOSS/cobrix/issues/712) Add an option for explicitly logging layout positions (`false` by default). + ```scala + // Enable logging of layout positions + .option("debug_layout_positions", "true") + ``` + - #### 2.7.5 released 19 August 2024. - [#703](https://github.com/AbsaOSS/cobrix/issues/703) Add maximum length for generated segment id fields, like `seg_id0`, `seg_id1`, etc. diff --git a/cobol-converters/pom.xml b/cobol-converters/pom.xml index 3f942a059..188c37fd4 100644 --- a/cobol-converters/pom.xml +++ b/cobol-converters/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.6-SNAPSHOT + 2.7.7-SNAPSHOT ../pom.xml diff --git a/cobol-parser/pom.xml b/cobol-parser/pom.xml index cf18c20dc..a75dc6f7a 100644 --- a/cobol-parser/pom.xml +++ b/cobol-parser/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.6-SNAPSHOT + 2.7.7-SNAPSHOT ../pom.xml diff --git a/examples/examples-collection/pom.xml b/examples/examples-collection/pom.xml index d684ea472..da88767f2 100644 --- a/examples/examples-collection/pom.xml +++ b/examples/examples-collection/pom.xml @@ -31,7 +31,7 @@ 2.11 2.4.8 2.4.16 - 2.7.5 + 2.7.6 diff --git a/examples/spark-cobol-app/build.sbt b/examples/spark-cobol-app/build.sbt index b91f45fb7..cdd17aca9 100644 --- a/examples/spark-cobol-app/build.sbt +++ b/examples/spark-cobol-app/build.sbt @@ -20,7 +20,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "2.12.17" val sparkVersion = "3.5.1" -val sparkCobolVersion = "2.7.5" +val sparkCobolVersion = "2.7.6" val scalatestVersion = "3.2.14" ThisBuild / libraryDependencies ++= Seq( diff --git a/examples/spark-cobol-app/pom.xml b/examples/spark-cobol-app/pom.xml index 7d4dc5300..2995e9603 100755 --- a/examples/spark-cobol-app/pom.xml +++ b/examples/spark-cobol-app/pom.xml @@ -31,7 +31,7 @@ 2.12 3.2.14 3.5.1 - 2.7.5 + 2.7.6 diff --git a/pom.xml b/pom.xml index e6f0f1ad5..e7115d926 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.6-SNAPSHOT + 2.7.7-SNAPSHOT pom diff --git a/spark-cobol/pom.xml b/spark-cobol/pom.xml index 6031e2f17..cb930636e 100644 --- a/spark-cobol/pom.xml +++ b/spark-cobol/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.6-SNAPSHOT + 2.7.7-SNAPSHOT ../pom.xml diff --git a/version.sbt b/version.sbt index e1a6bc09f..fc09b4d45 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "2.7.6-SNAPSHOT" +ThisBuild / version := "2.7.7-SNAPSHOT"