Commit Graph

15 Commits

Author SHA1 Message Date
Sylvain Lesage
09ae9400c5
build types before publishing to npm (#46)
* build types before publishing to npm

* use prepare instead of prepublishOnly + make it clear that we only build types

doc for prepare vs prepublishOnly is here: https://docs.npmjs.com/cli/v8/using-npm/scripts

* no jsx in this lib

* relative imports from the root, so that it works from types/

* remove unused hyparquet.d.ts + report differences to jsdoc in files

* try to understand if this is the cause of the failing CI check

tsc fails: https://github.com/hyparam/hyparquet/actions/runs/12040954822/job/33571851170?pr=46

* Revert "try to understand if this is the cause of the failing CI check"

This reverts commit 5e2fc8ca179064369de71793ab1cda3facefddc7.

* not sure what happens, but we just need to ensure the types are created correctly

* increment version

* Explicitly export types for use in downstream typescript projects

* Use new typescript jsdoc imports for smaller package

* Combine some files and use @import jsdoc

* use the local typescript

---------

Co-authored-by: Kenny Daniel <platypii@gmail.com>
2024-12-02 17:47:42 +01:00
Kenny
a2024a781c
Parse column and offset indexes (#29)
* Parse indicies

* Add parsed offset indices

* Add parsed column indices

* Test readColumnIndex and readOffsetIndex

* Add more parsed offset indices

* Remove unnecessary toJson when loading expected results

* Add length checks to convertMetadata

* Rename indicies.js to indexes.js

* Rename indices.test.js to indexes.test.js

* Rename *_indices.json to *_indexes.json

* Use asyncBufferFromFile in indexes.test.js

---------

Co-authored-by: Brian Park <park-brian@users.noreply.github.com>
2024-08-18 18:23:54 -07:00
Kenny Daniel
f28735c0ce
readVarInt tests 2024-05-28 14:18:04 -07:00
Kenny Daniel
d4341b803e
Delta byte array encoding 2024-05-18 19:23:11 -07:00
Kenny Daniel
f389e30565
Remove unnecessary parens 2024-05-18 18:26:52 -07:00
Kenny Daniel
82db6a8017
Delta binary packed encoding 2024-05-12 15:47:16 -07:00
Kenny Daniel
eabf62f5a1
Return Uint8Array from thrift 2024-05-04 00:47:24 -07:00
Kenny Daniel
d093b0dcaa
Use DataReader for thrift 2024-05-01 00:55:16 -07:00
Kenny Daniel
488bfa7f90
Preallocate arrays for faster decoding 2024-04-30 00:38:19 -07:00
Kenny Daniel
a65132b79c
Data Page V2 2024-02-26 18:44:33 -08:00
Kenny Daniel
961b92650c
Never copy data 2024-02-09 14:35:11 -08:00
Kenny Daniel
6ca1d2a85c
Consistent parquet error messages 2024-01-12 17:54:42 -08:00
Kenny Daniel
be7085c1a6
Parquet encoding 2024-01-05 02:16:15 -08:00
Kenny Daniel
04bfd474b8
All javascript, no typescript 2024-01-04 11:11:00 -08:00
Kenny Daniel
754b6eca04
Thrift TS to JS 2024-01-04 10:26:34 -08:00