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

Empty file compressed to hdt is not encoded correctly #231

Open
D063520 opened this issue Feb 16, 2022 · 0 comments
Open

Empty file compressed to hdt is not encoded correctly #231

D063520 opened this issue Feb 16, 2022 · 0 comments

Comments

@D063520
Copy link
Contributor

D063520 commented Feb 16, 2022

If we take an empty n-triple file then the corresponding hdt file is not encoded correctly. This is noticeable if the corresponding file is opened in hdt-java. The following comment described the problem in the hdt file:

rdfhdt/hdt-java#31 (comment)

When opening the hdt file one will notice that here:

the el and bit have a length of respectively 0 and 1. But both should be 0!!! Where exactly this is encoded is not clear to me and needs to be debugged in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant