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

option variable_occurs: true not working #553

Closed
saikumare-a opened this issue Dec 27, 2022 · 2 comments
Closed

option variable_occurs: true not working #553

saikumare-a opened this issue Dec 27, 2022 · 2 comments
Labels
accepted Accepted for implementation bug Something isn't working

Comments

@saikumare-a
Copy link

Hi @yruslan,

we are getting different results with 2.6.1 and 2.6.2 snapshot provided in #545

got to see that .option("variable_size_occurs","true") is not working in 2.6.2 snapshot .

all followup columns post variable array are becoming null

in 2.6.2 snapshot,

"D" record_format is still performing index building and giving correct answer
"D2" record_format not performing index building , but giving above mentioned wrong result

please refer #543 for more details

Regards,
Saikumar

@saikumare-a saikumare-a added the bug Something isn't working label Dec 27, 2022
@yruslan yruslan added the accepted Accepted for implementation label Dec 27, 2022
@yruslan
Copy link
Collaborator

yruslan commented Dec 27, 2022

Good spot!

Check out the updated jar:
spark-cobol-assembly-2.6.2-SNAPSHOT.zip

@saikumare-a
Copy link
Author

saikumare-a commented Dec 27, 2022

Hi @yruslan ,

Tested with above updated jar file and both the below issues are fixed.

  1. "D" record_format is still performing index building and giving correct answer
    -- now not performing index building and giving correct result
  2. "D2" record_format not performing index building , but giving above mentioned wrong result
    -- now not performing index building and giving correct result

Thank you for the quick reponse.

yruslan added a commit that referenced this issue Dec 29, 2022
Variable OCCURS resulted with null fields after the OCCURS field when record_format=D.
This is now fixed.
yruslan added a commit that referenced this issue Dec 30, 2022
Variable OCCURS resulted with null fields after the OCCURS field when record_format=D.
This is now fixed.
@yruslan yruslan closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accepted for implementation bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants