Commits

Wes McKinney authored c8d15d467f7
ARROW-491: [Format / C++] Add FixedWidthBinary type to format, C++ implementation I have a bunch more work to do on the C++ implementation: - [x] Test builder class - [x] Test array API (slice, etc.) - [x] Implement/test ArrayEquals/ArrayRangeEquals - [x] Implement `PrettyPrint` (may want to encode to hexadecimal, I don't think that BinaryArray prints properly right now for non-ASCII/UTF8 data) - [x] Add IPC roundtrip tests In the meantime, @julienledem @nongli or others could you look at the changes to the format Flatbuffers and let me know if that looks right to you? Thanks Author: Wes McKinney <wes.mckinney@twosigma.com> Closes #379 from wesm/ARROW-491 and squashes the following commits: f948835 [Wes McKinney] Move hex encode/decode to a separate header since including io-util on Windows causes a compilation failure 949fbc8 [Wes McKinney] Hex encode values in binary and fixedwidthbinary. Test PrettyPrint for FW binary a97c11a [Wes McKinney] Complete IPC implementation for date/time types. Implement IPC for FixedWidthBinary b679264 [Wes McKinney] Fix bug with fast bitsetting when length is a power of 2 8e76225 [Wes McKinney] Do not needlessly create 0-length buffers 832b363 [Wes McKinney] Implement TypeEquals, ArrayRangeEquals, clang fixes bf9ecd0 [Wes McKinney] cpplint ec50654 [Wes McKinney] Add some basic tests for the fixed width binary builder caa0314 [Wes McKinney] Draft FixedWidthBinaryBuilder. No tests yet c183639 [Wes McKinney] Consolidate some type tests. Draft FixedWidthBinaryArray class 9143c53 [Wes McKinney] Draft FixedWidthBinaryType