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

RDW headers should never be zero (0,0,0,0). Found zero size record at 4078719. #648

Open
gergelyts opened this issue Nov 30, 2023 · 1 comment
Labels
question Further information is requested

Comments

@gergelyts
Copy link

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.

@gergelyts gergelyts added the bug Something isn't working label Nov 30, 2023
@yruslan
Copy link
Collaborator

yruslan commented Dec 1, 2023

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) and USAGE IS BINARY is 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?

@yruslan yruslan added question Further information is requested and removed bug Something isn't working labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants