From dd27bd9cc1433c29a9dcac28abeaadaa7e0bfd3c Mon Sep 17 00:00:00 2001 From: Ruslan Iushchenko Date: Thu, 19 Dec 2024 11:57:11 +0100 Subject: [PATCH] Update README and POM files after the release. --- README.md | 29 +++++++++++++++++----------- cobol-converters/pom.xml | 2 +- cobol-parser/pom.xml | 2 +- examples/examples-collection/pom.xml | 2 +- examples/spark-cobol-app/build.sbt | 2 +- examples/spark-cobol-app/pom.xml | 2 +- pom.xml | 2 +- spark-cobol/pom.xml | 2 +- 8 files changed, 25 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 0b0660ec9..448ef6b43 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.9
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.10
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.9
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.10
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.9
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.10
@@ -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.9 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.10 ``` ### Spark compiled with Scala 2.12 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.9 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.10 ``` ### Spark compiled with Scala 2.13 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.9 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.10 ``` ## Usage @@ -238,8 +238,8 @@ to decode various binary formats. The jars that you need to get are: -* spark-cobol_2.12-2.7.9.jar -* cobol-parser_2.12-2.7.9.jar +* spark-cobol_2.12-2.7.10.jar +* cobol-parser_2.12-2.7.10.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.9 +$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.10 or -$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.9.jar,cobol-parser_2.12-2.7.9.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.10.jar,cobol-parser_2.12-2.7.10.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.10-SNAPSHOT-bundle.jar +$ spark-shell --jars spark-cobol_2.12_3.3-2.7.11-SNAPSHOT-bundle.jar ``` > A note for building and running tests on Windows @@ -1779,6 +1779,13 @@ 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.10 released 19 December 2024. + - [#728](https://github.com/AbsaOSS/cobrix/issues/728) Added CP1145 code page (Spain and Latin America). + - [#731](https://github.com/AbsaOSS/cobrix/issues/731) Added an option to copy data type when copying metadata. + ```scala + SparkUtils.copyMetadata(schemaFrom, schemaTo, copyDataType = true) + ``` + - #### 2.7.9 released 8 November 2024. - [#722](https://github.com/AbsaOSS/cobrix/issues/722) Added more EBCDIC code pages (mostly European). diff --git a/cobol-converters/pom.xml b/cobol-converters/pom.xml index d07ad9aba..c605ebdcd 100644 --- a/cobol-converters/pom.xml +++ b/cobol-converters/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.10-SNAPSHOT + 2.7.11-SNAPSHOT ../pom.xml diff --git a/cobol-parser/pom.xml b/cobol-parser/pom.xml index 70563829d..21a4460e3 100644 --- a/cobol-parser/pom.xml +++ b/cobol-parser/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.10-SNAPSHOT + 2.7.11-SNAPSHOT ../pom.xml diff --git a/examples/examples-collection/pom.xml b/examples/examples-collection/pom.xml index dca237c01..db6f933a8 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.9 + 2.7.10 diff --git a/examples/spark-cobol-app/build.sbt b/examples/spark-cobol-app/build.sbt index 94d418b33..84566f20f 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.3" -val sparkCobolVersion = "2.7.9" +val sparkCobolVersion = "2.7.10" 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 fac45c0de..1b218476b 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.3 - 2.7.9 + 2.7.10 diff --git a/pom.xml b/pom.xml index bcf29726b..7a50dbb90 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.10-SNAPSHOT + 2.7.11-SNAPSHOT pom diff --git a/spark-cobol/pom.xml b/spark-cobol/pom.xml index ea29db71f..e8ed466ed 100644 --- a/spark-cobol/pom.xml +++ b/spark-cobol/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.10-SNAPSHOT + 2.7.11-SNAPSHOT ../pom.xml