Skip to content

Conversation

bashtage
Copy link
Contributor

Add check for complib when opening a HDFStore

closes #4582
closes #8874

Add check for complib when opening a HDFStore

closes pandas-dev#4582
closes pandas-dev#8874
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should iterrogate the PyTables/Filters class, as more things seem to be valid http://www.pytables.org/usersguide/libref/helper_classes.html#filtersclassdescr

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but then reading over the old issue. I am not sure these blosc compressors work (though not entirely sure why)

@bashtage
Copy link
Contributor Author

Using multiple compressors, e.g. blosc:zlib, resulted in corruption for me - also not sure why. So it seems safer to just prevent them being used and to enforce what the docs say are supported compressors.

@jreback
Copy link
Contributor

jreback commented Jun 12, 2015

ok that's fine, move to a class variable though _compressors? to make maintenance easier in the future

@jreback jreback added Bug Error Reporting Incorrect or improved errors from pandas IO HDF5 read_hdf, HDFStore labels Jun 12, 2015
@jreback jreback added this to the 0.16.2 milestone Jun 12, 2015
@jreback
Copy link
Contributor

jreback commented Jun 12, 2015

ping when green. I am going to cut 0.16.2 soon, so this will be last one :)

@jreback
Copy link
Contributor

jreback commented Jun 12, 2015

merged via 3cdd1df

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Error Reporting Incorrect or improved errors from pandas IO HDF5 read_hdf, HDFStore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HDF corrupts data when using complib='blosc:zlib' ER: raise on invalid compression options in HDFStore

2 participants