AbsaOSS / AbsaOSS/cobrix

Cobrix is not supporting, Inserting picture clause

オープン
#505 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
accepted enhancement
主要言語
Scala
スター
170
フォーク
96
平均マージ
57分
マージ済み PR(30日)
2

説明

## Describe the bug @yruslan
Cobrix is not supporting, Inserting picture clause. If the data type has BBBB then spaces needs to be place in those place.
For Example :
Data Type : PIC 9(06)BBBB needs to return '123 ' if the value is 123.
Refer the below link.
https://www.mainframestechhelp.com/tutorials/cobol/picture-clause.htm

## Code snippet that caused the issue

```
spark.read
.format("cobol")
```

## Expected behavior
A clear and concise description of what you expected to happen.

## Context
- Cobrix version:
- Spark version:
- Scala version:
- Operating system:

## Copybook (if possible)
```
01 RECORD.
05 FIELD1 PIC 99B99B99.
```

Input => 156082
output => 15 60 82
Attach a small data file that can help reproduce the issue, if possible.

@yruslan
Could you please help on this?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。