-
Notifications
You must be signed in to change notification settings - Fork 19
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
ZSTD compresion with dictionary causes odd errors #208
Comments
This behavior persists with python 3.10 and python-blosc2 2.6.1. the corresponding line in the trace is 1110 in blosc2_ext.pyx. |
I do not see any case or test in this repository where this option is activated. Is it meant to be functional in the current release? |
We did not make any effort on making this functional. But a PR is always welcome. |
Understood. I will look at what would be required for a PR. Has the shared dict functionality been tested in |
Yes, I think so: https://github.com/Blosc/c-blosc2/blob/main/tests/test_dict_schunk.c |
When activating the "use_dict" flag in an SChunk instance, storing data leads to errors.
The following code does not execute on my system:
Instead, it leads to the following
RuntimeError
:If the above code is run with
coptions["use_dict"] = 0
, it executes successfully.Do specific flags need to be set for shared dictionary compression to be successful, or does the sizing of stored data have different requirements?
python-blosc2 version:
blosc2==2.3.2
python version:
3.9.18
platform: arch linux, conda based python install
The text was updated successfully, but these errors were encountered: