forked from parquet-go/parquet-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor encoding APIs (part 1) (parquet-go#172)
* refactor encoding APIs * add methods to all encodings * remove CanEncode method * port writer to new encoding APIs * remove parquet.Page.WriteTo + fix tests * remove encoding.Encoder * refactor page reading to use the new encoding APIs * allow RLE encoding on boolean data pages * dont panic on mismatchin offsets and number of values in byte array pages * fix all tests * remove filePages2 * remove ColumnReader * remove encoding.Decoder * remove encoding.ByteArray * Go 1.17 fixes * add missing functions on Go 1.17 * add missing functions on Go 1.17 (2) * fix colum index on Go 1.17 * Update encoding/notsupported.go Co-authored-by: Kevin Burke <[email protected]> * Update encoding/notsupported.go Co-authored-by: Kevin Burke <[email protected]> * PR feedback * Update writer.go Co-authored-by: Kevin Burke <[email protected]> * Update writer.go Co-authored-by: Kevin Burke <[email protected]> * fix typos * Update writer.go Co-authored-by: Kevin Burke <[email protected]> * Update column.go Co-authored-by: Kevin Burke <[email protected]> * fix bug when using delta binary encoding on sequences of values using more than 32 bits per item * Refactor encoding fuzz tests (parquet-go#174) * add fuzzing for delta encoding * add fuzzing for RLE encoding * add fuzzing for byte-stream-split encoding * remove: encoding/fuzz_test.go * PR feedback: improve readability of encoding/fuzz.encode function signature Co-authored-by: Kevin Burke <[email protected]>
- Loading branch information
1 parent
35af418
commit 4f4d804
Showing
92 changed files
with
4,059 additions
and
6,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.