AbsaOSS / AbsaOSS/cobrix

Cobrix is not supporting, Inserting picture clause

未關閉
#505 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
accepted enhancement
主要語言
Scala
星號
170
分支
96
平均合併
57 分鐘
30 天內合併 PR
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 摘要。