AbsaOSS / AbsaOSS/cobrix

Cobrix is not supporting, Inserting picture clause

Abierto
#505 1 comentario 0 reacciones 0 asignados Ver en GitHub
accepted enhancement
Lenguaje dominante
Scala
Estrellas
170
Forks
96
Merge medio
57 min
PR fusionados (30 d)
2

Descripción

## 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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.