Introduce BoolVector for Bool column types (#40)
authorJacob Quinn <quinn.jacobd@gmail.com>
Wed, 14 Oct 2020 19:32:50 +0000 (13:32 -0600)
committerGitHub <noreply@github.com>
Wed, 14 Oct 2020 19:32:50 +0000 (13:32 -0600)
commit8ba80028e11b09a3f2aa0aae3ca342e304ea8e22
tree490fe1bdbaaa8a12cb9a77e9c5e107677cc99a2c
parenta53da475bedc46f33a59b9609e88cad80b9e58a6
Introduce BoolVector for Bool column types (#40)

Fixes #38. From back in the original feather days, I remember that bool
columns were always bitpacked. Unfortunately, the arrow spec doesn't
really point this bitpacking out very obviously (it's mentioned in
passing as a possibility). This PR introduces a new BoolVector type and
corresponding `ArrowTypes.BoolType` that ensures Bool columns will be
written bitpacked, and read similarly.
src/arraytypes/arraytypes.jl
src/arraytypes/bool.jl [new file with mode: 0644]
src/arrowtypes.jl
src/table.jl