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

Determining time encoding and compression in a TsFile #203

Open
jt2594838 opened this issue Aug 8, 2024 · 0 comments
Open

Determining time encoding and compression in a TsFile #203

jt2594838 opened this issue Aug 8, 2024 · 0 comments

Comments

@jt2594838
Copy link
Contributor

The time compression and encoding can be specified via config. However, this information is not included in a TsFile, and one cannot know the time compression and encoding if he only has the TsFile.

For TsFile V4, there is a property map at the end of the file, so we can and WE SHOULD record the time compression and encoding in the map.

For TsFile V3 and older, unfortunately, there seems to be no good solution, but maybe we can provide some protection mechanism: if the decoding or uncompressing of a time page fails, the reader should try another decoding/compression automatically until success or all methods have failed.

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