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

File-(start/end)-offset #601

Closed
sree018 opened this issue Apr 12, 2023 · 6 comments · Fixed by #605
Closed

File-(start/end)-offset #601

sree018 opened this issue Apr 12, 2023 · 6 comments · Fixed by #605
Assignees
Labels
accepted Accepted for implementation bug Something isn't working

Comments

@sree018
Copy link

sree018 commented Apr 12, 2023

Describe the bug

I have variable block with variable length file with header and trailer.

I want skip first 45 bytes and last 45 bytes

In 2.2.2. Version, I am able parse it but not in 2.6.5 #
48D334CC-E175-43E9-BE04-918B4964EB38

@sree018 sree018 added the bug Something isn't working label Apr 12, 2023
@yruslan
Copy link
Collaborator

yruslan commented Apr 13, 2023

Hi, if you want to skip some bytes from each file, use:

.option("file_start_offset", 45)
.option("file_end_offset", 45)

@sree018
Copy link
Author

sree018 commented Apr 13, 2023

Hi @yruslan

thanks for replying.

.option("file_start_offset", 45)
.option("file_end_offset", 45)

these options are working if file is has rdw only.

If file has rdw and bdw, above options are not working.

@yruslan
Copy link
Collaborator

yruslan commented Apr 13, 2023

Oh, I see. This is interesting, will check.

@yruslan yruslan added the accepted Accepted for implementation label Apr 14, 2023
@yruslan yruslan self-assigned this Apr 14, 2023
@yruslan
Copy link
Collaborator

yruslan commented Apr 14, 2023

Confirmed. Added to be fixed. Thank you for the bug report!

@yruslan
Copy link
Collaborator

yruslan commented Apr 17, 2023

This should be fixed in the master branch.

@yruslan
Copy link
Collaborator

yruslan commented May 7, 2023

Fixed in 2.6.7.

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

Successfully merging a pull request may close this issue.

2 participants