Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Cobrix 2.1.1 #321

Merged
merged 5 commits into from
Aug 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update project version number in README.
  • Loading branch information
yruslan committed Aug 18, 2020
commit f139cd1acfd505c60515c42e86898ce3d08d0b38
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ 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.1.0
version: 2.1.1
```

### Scala 2.12
Expand All @@ -72,7 +72,7 @@ version: 2.1.0
```
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.1.0
version: 2.1.1
```

## Using with Spark shell
Expand All @@ -81,12 +81,12 @@ 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.1.0
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.1.1
```

### Spark compiled with Scala 2.12
```
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.1.0
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.1.1
```

## Usage
Expand Down Expand Up @@ -203,16 +203,16 @@ to decode various binary formats.

The jars that you need to get are:

* spark-cobol_2.11-2.1.0.jar
* cobol-parser_2.11-2.1.0.jar
* spark-cobol_2.11-2.1.1.jar
* cobol-parser_2.11-2.1.1.jar
* scodec-core_2.11-1.10.3.jar
* scodec-bits_2.11-1.1.4.jar

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.11:2.1.0
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.1.1
or
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.11-2.1.0.jar,cobol-parser_2.11-2.1.0.jar,scodec-core_2.11-1.10.3.jar,scodec-bits_2.11-1.1.4.jar
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.11-2.1.1.jar,cobol-parser_2.11-2.1.1.jar,scodec-core_2.11-1.10.3.jar,scodec-bits_2.11-1.1.4.jar

Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Expand Down Expand Up @@ -1198,7 +1198,7 @@ For multisegment variable lengths tests:
![](performance/images/exp3_multiseg_wide_records_throughput.svg) ![](performance/images/exp3_multiseg_wide_mb_throughput.svg)

## Changelog
- #### 2.1.1 to be released soon
- #### 2.1.1 released 18 August 2020.
- [#53](https://github.com/AbsaOSS/cobrix/issues/53) Added an option to retain FILLERs. `.option("drop_value_fillers", "false")`. Use together with `.option("drop_group_fillers", "false")`.
- [#315](https://github.com/AbsaOSS/cobrix/issues/315) Added `CopybookParser.parseSimple()` that requires only essential arguments.
- [#316](https://github.com/AbsaOSS/cobrix/issues/316) Added support for copybooks that contain non-breakable spaces (0xA0) and tabs.
Expand Down