cobrix
cobrix copied to clipboard
RDW headers should never be zero (0,0,0,0). Found zero size record at 4078719.
Dear Team, I have the following issue:
Describe the bug
I configured 8 columns to BINARY, and then this issue happen.
Code snippet that caused the issue
Expected behavior
A clear and concise description of what you expected to happen.
Context
- Cobrix version: 2.6.8
- Spark version: 3.3
- Scala version: 2.12
- Operating system: AWS Glue
Copybook (if possible)
for example:
20 I69-125-DAT1-TEXT PIC X(4024) BINARY.
Attach a small data file that can help reproduce the issue, if possible.
Hi, thanks for the bug report.
Could you provide additional context please.
- Do I understand it correctly that when the column (
I69-125-DAT1-TEXT) had a different type, the processing worked. What data type did it have? - The combination of
X(4042)andUSAGE IS BINARYis a combination that I see for the first time. What are you trying to achieve? - What is the code snippet that you use to load the data? Especially what are options that you pass to Cobrix?
- Did 'Layout Positins' printed in logs change when you changed the columns in the copybook?