@gscdump/engine 2.1.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/hyparquet.d.mts +2 -2
- package/dist/adapters/hyparquet.mjs +7 -6
- package/dist/iceberg/catalog.d.mts +2 -2
- package/dist/iceberg/catalog.mjs +2 -2
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/bloom.mjs +1 -1
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/bytewriter.mjs +92 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/column.mjs +26 -12
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/datapage.mjs +1 -1
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/delta.mjs +203 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/dictionary.mjs +64 -9
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/dremel.mjs +1 -1
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/indexes.mjs +1 -1
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/metadata.mjs +48 -13
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/parquet-writer.mjs +142 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/schema.mjs +1 -1
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/thrift.mjs +28 -14
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/types.d.mts +1 -1
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/unconvert.mjs +13 -4
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/write-rows.mjs +5 -3
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/types/index.d.mts +18 -0
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/types/parquet-writer.d.mts +2 -0
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/types/schema.d.mts +2 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/filter.mjs +1 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/plan.mjs +1 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/index.d.mts +2 -2
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/constants.mjs +6 -1
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/filter.mjs +212 -0
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/indexes.mjs +32 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/metadata.mjs +5 -0
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/plan.mjs +347 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/read.mjs +25 -3
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/rowgroup.mjs +67 -49
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/utils.mjs +1 -0
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/types/index.d.mts +54 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/avro/avro.read.mjs +1 -1
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/avro/avro.write.mjs +2 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/fetch.mjs +2 -2
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/read.mjs +2 -2
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/s3.mjs +3 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/sql/icebergDataSource.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/sql/icebergQuery.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/types.d.mts +4 -4
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/commit.mjs +1 -0
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/write/parquet.mjs +5 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/index.d.mts +1 -1
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/read.d.mts +2 -0
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/sql/icebergDataSource.d.mts +2 -0
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/sql/icebergQuery.d.mts +2 -0
- package/dist/storage.d.mts +2 -2
- package/dist/vendor/hysnappy-purejs.mjs +1 -1
- package/package.json +8 -8
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/src/bytewriter.mjs +0 -91
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/src/delta.mjs +0 -111
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/src/parquet-writer.mjs +0 -139
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/types/index.d.mts +0 -10
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/types/parquet-writer.d.mts +0 -2
- package/dist/node_modules/.pnpm/hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec/node_modules/hyparquet-writer/types/schema.d.mts +0 -2
- package/dist/node_modules/.pnpm/hyparquet@1.26.2/node_modules/hyparquet/src/filter.mjs +0 -98
- package/dist/node_modules/.pnpm/hyparquet@1.26.2/node_modules/hyparquet/src/indexes.mjs +0 -16
- package/dist/node_modules/.pnpm/hyparquet@1.26.2/node_modules/hyparquet/src/plan.mjs +0 -147
- package/dist/node_modules/.pnpm/hyparquet@1.26.2/node_modules/hyparquet/types/index.d.mts +0 -10
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/src/avro/avro.write.mjs +0 -2
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/src/s3.mjs +0 -3
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/src/write/parquet.mjs +0 -5
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/types/read.d.mts +0 -2
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/types/sql/icebergDataSource.d.mts +0 -2
- package/dist/node_modules/.pnpm/icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057/node_modules/icebird/types/sql/icebergQuery.d.mts +0 -2
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/encoding.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/geospatial.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/index.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/node.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/plain.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/snappy.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/splitstream.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/variant.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/wkb.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/src/write.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/types/bytewriter.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/types/node.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/types/wkb.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/types/write-rows.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet-writer@0.16.1_patch_hash_7a5e451ac7634d7546ac56bcc5eadacf7715a6241640c2b5a5bc0cfc9763b8ec → hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a}/node_modules/hyparquet-writer/types/write.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/assemble.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/bloom.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/column.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/constants.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/convert.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/datapage.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/delta.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/encoding.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/geoparquet.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/index.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/indexes.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/metadata.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/node.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/plain.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/query.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/read.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/rowgroup.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/schema.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/snappy.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/thrift.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/types.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/utils.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/variant.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/wkb.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/src/xxhash.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/indexes.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/metadata.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/node.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/query.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/read.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/snappy.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.1 → hyparquet@1.28.1}/node_modules/hyparquet/types/utils.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/assemble.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/bloom.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/column.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/convert.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/datapage.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/delta.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/encoding.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/geoparquet.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/index.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/node.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/plain.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/query.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/schema.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/snappy.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/thrift.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/types.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/variant.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/wkb.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/src/xxhash.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/indexes.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/metadata.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/node.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/query.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/read.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/snappy.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.26.2 → hyparquet@1.28.2}/node_modules/hyparquet/types/utils.d.mts +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/avro/avro.metadata.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/catalog/file.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/catalog/loadTable.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/catalog/rest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/create.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/delete.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/json.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/manifest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/metadata.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/prune.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/puffin/deletion-vector.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/puffin/puffin.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/puffin/roaring.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/schema.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/sigv4.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/sql/whereFilter.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/utils.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/conversions.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/delete-file.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/geospatial.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/manifest-list.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/manifest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/partition.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/rewrite.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/serde.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/snapshot.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/sort.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/stage-deletion-vector.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/stage-position-delete.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/stage.mjs +2 -2
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/stats.mjs +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/transform.mjs +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/src/write/write.mjs +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/catalog/file.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/catalog/rest.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/create.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/fetch.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/manifest.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/metadata.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/s3.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{icebird@0.8.15_patch_hash_d1902372376af18885e7c7dce807f1ecab86c2f86a9d1ff65d51e3b63b64b057 → icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6}/node_modules/icebird/types/write/write.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/ast.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/backend/dataSource.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/accumulator.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/aggregates.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/execute.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/join.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/scanColumn.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/sort.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/streamingAggregate.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/utils.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/window.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/execute/yield.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/alias.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/binary.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/date.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/evaluate.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/math.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/regexp.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/expression/strings.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/index.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/index.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/expression.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/extractTables.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/functions.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/joins.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/parse.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/primary.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/state.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/tokenize.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/parse/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/plan/columns.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/plan/plan.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/plan/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/bbox.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/equality.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/operations.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/pointRelations.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/primitives.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/segments.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/spatial.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/spatial/wkt.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/aggregates.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/executionErrors.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/functions.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/keywords.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/parseErrors.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.0 → squirreling@0.15.3}/node_modules/squirreling/src/validation/tables.mjs +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { getSchemaPath } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/schema.mjs";
|
|
2
|
+
import { writeBlooms } from "./bloom.mjs";
|
|
3
|
+
import { encodeVariantColumn } from "./variant.mjs";
|
|
4
|
+
import { writeColumn } from "./column.mjs";
|
|
5
|
+
import { encodeNestedValues } from "./dremel.mjs";
|
|
6
|
+
import { writeIndexes } from "./indexes.mjs";
|
|
7
|
+
import { writeMetadata } from "./metadata.mjs";
|
|
8
|
+
import { snappyCompress } from "./snappy.mjs";
|
|
9
|
+
var ParquetWriter = class {
|
|
10
|
+
constructor({ writer, schema, codec = "SNAPPY", compressors, statistics = true, kvMetadata }) {
|
|
11
|
+
this.writer = writer;
|
|
12
|
+
this.schema = schema;
|
|
13
|
+
this.codec = codec;
|
|
14
|
+
this.compressors = {
|
|
15
|
+
SNAPPY: snappyCompress,
|
|
16
|
+
...compressors
|
|
17
|
+
};
|
|
18
|
+
this.statistics = statistics;
|
|
19
|
+
this.kvMetadata = kvMetadata;
|
|
20
|
+
this.row_groups = [];
|
|
21
|
+
this.num_rows = 0n;
|
|
22
|
+
this.pendingIndexes = [];
|
|
23
|
+
this.writer.appendUint32(827474256);
|
|
24
|
+
}
|
|
25
|
+
write({ columnData, rowGroupSize = [1e3, 1e5], pageSize = 1048576, dictionarySize }) {
|
|
26
|
+
const columnDataRows = columnData[0]?.data?.length || 0;
|
|
27
|
+
let pending;
|
|
28
|
+
for (const { groupStartIndex, groupSize } of groupIterator({
|
|
29
|
+
columnDataRows,
|
|
30
|
+
rowGroupSize
|
|
31
|
+
})) {
|
|
32
|
+
const writeGroup = () => {
|
|
33
|
+
const groupStartOffset = this.writer.offset;
|
|
34
|
+
const columns = [];
|
|
35
|
+
for (let j = 0; j < columnData.length; j++) {
|
|
36
|
+
const { name, data, encoding, codec = this.codec, columnIndex = false, offsetIndex = true, shredding, bloomFilter } = columnData[j];
|
|
37
|
+
if (columnIndex && !offsetIndex) throw new Error("parquet ColumnIndex cannot be present without OffsetIndex");
|
|
38
|
+
if (data.length !== columnDataRows) throw new Error("parquet columns must have the same length");
|
|
39
|
+
const groupData = data.slice(groupStartIndex, groupStartIndex + groupSize);
|
|
40
|
+
const columnPath = getSchemaPath(this.schema, [name]);
|
|
41
|
+
const leafPaths = getLeafSchemaPaths(columnPath);
|
|
42
|
+
const columnElement = columnPath.at(-1)?.element;
|
|
43
|
+
const shreddingConfig = shredding && shredding !== true ? shredding : void 0;
|
|
44
|
+
const isVariant = columnElement?.logical_type?.type === "VARIANT";
|
|
45
|
+
const isRequired = columnElement?.repetition_type === "REQUIRED";
|
|
46
|
+
const rows = isVariant ? encodeVariantColumn(Array.from(groupData), shreddingConfig, {
|
|
47
|
+
name,
|
|
48
|
+
required: isRequired
|
|
49
|
+
}) : groupData;
|
|
50
|
+
for (const leafPath of leafPaths) {
|
|
51
|
+
const schemaPath = leafPath.map((node) => node.element);
|
|
52
|
+
const column = {
|
|
53
|
+
columnName: schemaPath.slice(1).map((s) => s.name).join("."),
|
|
54
|
+
element: schemaPath[schemaPath.length - 1],
|
|
55
|
+
schemaPath,
|
|
56
|
+
codec,
|
|
57
|
+
compressors: this.compressors,
|
|
58
|
+
stats: this.statistics,
|
|
59
|
+
pageSize,
|
|
60
|
+
dictionarySize,
|
|
61
|
+
columnIndex,
|
|
62
|
+
offsetIndex,
|
|
63
|
+
encoding,
|
|
64
|
+
bloomFilter
|
|
65
|
+
};
|
|
66
|
+
const pageData = encodeNestedValues(leafPath, rows);
|
|
67
|
+
const result = writeColumn({
|
|
68
|
+
writer: this.writer,
|
|
69
|
+
column,
|
|
70
|
+
pageData
|
|
71
|
+
});
|
|
72
|
+
columns.push(result.chunk);
|
|
73
|
+
this.pendingIndexes.push(result);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
this.num_rows += BigInt(groupSize);
|
|
77
|
+
this.row_groups.push({
|
|
78
|
+
columns,
|
|
79
|
+
total_byte_size: BigInt(this.writer.offset - groupStartOffset),
|
|
80
|
+
num_rows: BigInt(groupSize)
|
|
81
|
+
});
|
|
82
|
+
return this.writer.flush?.();
|
|
83
|
+
};
|
|
84
|
+
if (pending) pending = pending.then(writeGroup);
|
|
85
|
+
else {
|
|
86
|
+
const r = writeGroup();
|
|
87
|
+
if (r) pending = Promise.resolve(r);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return pending;
|
|
91
|
+
}
|
|
92
|
+
finish() {
|
|
93
|
+
writeIndexes(this.writer, this.pendingIndexes);
|
|
94
|
+
writeBlooms(this.writer, this.pendingIndexes);
|
|
95
|
+
const metadata = {
|
|
96
|
+
version: 2,
|
|
97
|
+
created_by: "hyparquet",
|
|
98
|
+
schema: this.schema,
|
|
99
|
+
num_rows: this.num_rows,
|
|
100
|
+
row_groups: this.row_groups,
|
|
101
|
+
metadata_length: 0,
|
|
102
|
+
key_value_metadata: this.kvMetadata
|
|
103
|
+
};
|
|
104
|
+
delete metadata.metadata_length;
|
|
105
|
+
writeMetadata(this.writer, metadata);
|
|
106
|
+
this.writer.appendUint32(827474256);
|
|
107
|
+
return this.writer.finish();
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
function groupSize(rowGroupSize, i) {
|
|
111
|
+
return Array.isArray(rowGroupSize) ? rowGroupSize[Math.min(i, rowGroupSize.length - 1)] : rowGroupSize;
|
|
112
|
+
}
|
|
113
|
+
function groupIterator({ columnDataRows, rowGroupSize }) {
|
|
114
|
+
if (Array.isArray(rowGroupSize) && !rowGroupSize.length) throw new Error("rowGroupSize array cannot be empty");
|
|
115
|
+
const groups = [];
|
|
116
|
+
let groupIndex = 0;
|
|
117
|
+
let groupStartIndex = 0;
|
|
118
|
+
while (groupStartIndex < columnDataRows) {
|
|
119
|
+
const size = groupSize(rowGroupSize, groupIndex);
|
|
120
|
+
groups.push({
|
|
121
|
+
groupStartIndex,
|
|
122
|
+
groupSize: Math.min(size, columnDataRows - groupStartIndex)
|
|
123
|
+
});
|
|
124
|
+
groupStartIndex += size;
|
|
125
|
+
groupIndex++;
|
|
126
|
+
}
|
|
127
|
+
return groups;
|
|
128
|
+
}
|
|
129
|
+
function getLeafSchemaPaths(schemaPath) {
|
|
130
|
+
const leaves = [];
|
|
131
|
+
dfs(schemaPath);
|
|
132
|
+
return leaves;
|
|
133
|
+
function dfs(path) {
|
|
134
|
+
const node = path[path.length - 1];
|
|
135
|
+
if (!node.children.length) {
|
|
136
|
+
leaves.push(path);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
for (const child of node.children) dfs([...path, child]);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export { ParquetWriter, groupSize };
|
|
@@ -232,7 +232,7 @@ function autoSchemaElement(name, values) {
|
|
|
232
232
|
type = valueType;
|
|
233
233
|
converted_type = valueConvertedType;
|
|
234
234
|
} else if (type === "INT32" && valueType === "DOUBLE") type = "DOUBLE";
|
|
235
|
-
else if (type === "DOUBLE" && valueType === "INT32")
|
|
235
|
+
else if (type === "DOUBLE" && valueType === "INT32") continue;
|
|
236
236
|
else if (type !== valueType || converted_type !== valueConvertedType) throw new Error(`parquet cannot write mixed types: ${converted_type ?? type} and ${valueConvertedType ?? valueType}`);
|
|
237
237
|
}
|
|
238
238
|
if (!type) {
|
|
@@ -4,10 +4,14 @@ const FALSE = 2;
|
|
|
4
4
|
const BYTE = 3;
|
|
5
5
|
const I32 = 5;
|
|
6
6
|
const I64 = 6;
|
|
7
|
-
const DOUBLE = 7;
|
|
8
7
|
const BINARY = 8;
|
|
9
8
|
const LIST = 9;
|
|
10
9
|
const STRUCT = 12;
|
|
10
|
+
var ThriftStruct = class {
|
|
11
|
+
constructor(fields) {
|
|
12
|
+
this.fields = fields;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
11
15
|
function serializeTCompactProtocol(writer, data) {
|
|
12
16
|
writeElement(writer, STRUCT, data);
|
|
13
17
|
}
|
|
@@ -17,7 +21,7 @@ function writeElement(writer, type, value) {
|
|
|
17
21
|
if (type === BYTE && typeof value === "number") writer.appendUint8(value);
|
|
18
22
|
else if (type === I32 && typeof value === "number") writer.appendZigZag(value);
|
|
19
23
|
else if (type === I64 && typeof value === "bigint") writer.appendZigZag(value);
|
|
20
|
-
else if (type ===
|
|
24
|
+
else if (type === 7 && typeof value === "number") writer.appendFloat64(value);
|
|
21
25
|
else if (type === BINARY && typeof value === "string") {
|
|
22
26
|
const bytes = new TextEncoder().encode(value);
|
|
23
27
|
writer.appendVarInt(bytes.length);
|
|
@@ -33,6 +37,13 @@ function writeElement(writer, type, value) {
|
|
|
33
37
|
} else writer.appendUint8(value.length << 4 | elemType);
|
|
34
38
|
if (elemType === FALSE) for (const v of value) writer.appendUint8(v ? 1 : 0);
|
|
35
39
|
else for (const v of value) writeElement(writer, elemType, v);
|
|
40
|
+
} else if (type === STRUCT && value instanceof ThriftStruct) {
|
|
41
|
+
let lastFid = 0;
|
|
42
|
+
for (const [fid, fieldType, fieldValue] of value.fields) {
|
|
43
|
+
if (fieldValue === void 0) continue;
|
|
44
|
+
lastFid = writeStructField(writer, lastFid, fid, fieldType, fieldValue);
|
|
45
|
+
}
|
|
46
|
+
writer.appendUint8(STOP);
|
|
36
47
|
} else if (type === STRUCT && typeof value === "object") {
|
|
37
48
|
let lastFid = 0;
|
|
38
49
|
for (const [k, v] of Object.entries(value)) {
|
|
@@ -40,23 +51,26 @@ function writeElement(writer, type, value) {
|
|
|
40
51
|
const fid = parseInt(k.replace(/^field_/, ""), 10);
|
|
41
52
|
if (Number.isNaN(fid)) throw new Error(`thrift invalid field name: ${k}. Expected "field_###"`);
|
|
42
53
|
const t = getCompactTypeForValue(v);
|
|
43
|
-
|
|
44
|
-
if (delta <= 0) throw new Error(`thrift non-monotonic field id: fid=${fid}, lastFid=${lastFid}`);
|
|
45
|
-
if (delta > 15) {
|
|
46
|
-
writer.appendUint8(t);
|
|
47
|
-
writer.appendZigZag(fid);
|
|
48
|
-
} else writer.appendUint8(delta << 4 | t);
|
|
49
|
-
writeElement(writer, t, v);
|
|
50
|
-
lastFid = fid;
|
|
54
|
+
lastFid = writeStructField(writer, lastFid, fid, t, v);
|
|
51
55
|
}
|
|
52
56
|
writer.appendUint8(STOP);
|
|
53
57
|
} else throw new Error(`thrift invalid type ${type} for value ${value}`);
|
|
54
58
|
}
|
|
59
|
+
function writeStructField(writer, lastFid, fid, type, value) {
|
|
60
|
+
const delta = fid - lastFid;
|
|
61
|
+
if (delta <= 0) throw new Error(`thrift non-monotonic field id: fid=${fid}, lastFid=${lastFid}`);
|
|
62
|
+
if (delta > 15) {
|
|
63
|
+
writer.appendUint8(type);
|
|
64
|
+
writer.appendZigZag(fid);
|
|
65
|
+
} else writer.appendUint8(delta << 4 | type);
|
|
66
|
+
writeElement(writer, type, value);
|
|
67
|
+
return fid;
|
|
68
|
+
}
|
|
55
69
|
function getCompactTypeForValue(value) {
|
|
56
70
|
if (value === true) return TRUE;
|
|
57
71
|
if (value === false) return FALSE;
|
|
58
72
|
if (Number.isInteger(value)) return I32;
|
|
59
|
-
if (typeof value === "number") return
|
|
73
|
+
if (typeof value === "number") return 7;
|
|
60
74
|
if (typeof value === "bigint") return I64;
|
|
61
75
|
if (typeof value === "string") return BINARY;
|
|
62
76
|
if (value instanceof Uint8Array) return BINARY;
|
|
@@ -70,10 +84,10 @@ function getCompactTypeForList(value) {
|
|
|
70
84
|
let t = getCompactTypeForValue(v);
|
|
71
85
|
if (t === TRUE) t = FALSE;
|
|
72
86
|
if (!elemType) elemType = t;
|
|
73
|
-
if (elemType ===
|
|
74
|
-
if (elemType === I32 && t ===
|
|
87
|
+
if (elemType === 7 && t === I32) t = 7;
|
|
88
|
+
if (elemType === I32 && t === 7) elemType = 7;
|
|
75
89
|
if (t !== elemType) throw new Error(`thrift invalid type for list element: ${v} (expected type ${elemType})`);
|
|
76
90
|
}
|
|
77
91
|
return elemType ?? BYTE;
|
|
78
92
|
}
|
|
79
|
-
export { serializeTCompactProtocol };
|
|
93
|
+
export { ThriftStruct, serializeTCompactProtocol };
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import { toJson } from "../../../../hyparquet@1.
|
|
2
|
-
import "../../../../hyparquet@1.
|
|
1
|
+
import { toJson } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/utils.mjs";
|
|
2
|
+
import "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/node.mjs";
|
|
3
3
|
import { geojsonToWkb } from "./wkb.mjs";
|
|
4
4
|
const dayMillis = 864e5;
|
|
5
|
+
function mapConverted(values, convert) {
|
|
6
|
+
const cache = /* @__PURE__ */ new Map();
|
|
7
|
+
return Array.from(values, (value) => {
|
|
8
|
+
if (cache.has(value)) return cache.get(value);
|
|
9
|
+
const result = convert(value);
|
|
10
|
+
cache.set(value, result);
|
|
11
|
+
return result;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
5
14
|
function unconvert(element, values) {
|
|
6
15
|
const { type, converted_type: ctype, logical_type: ltype } = element;
|
|
7
16
|
if (ctype === "DECIMAL") {
|
|
@@ -29,7 +38,7 @@ function unconvert(element, values) {
|
|
|
29
38
|
if (ctype === "JSON") {
|
|
30
39
|
if (!Array.isArray(values)) throw new Error("JSON must be an array");
|
|
31
40
|
const encoder = new TextEncoder();
|
|
32
|
-
return values
|
|
41
|
+
return mapConverted(values, (v) => v === null || v === void 0 ? v : encoder.encode(JSON.stringify(toJson(v))));
|
|
33
42
|
}
|
|
34
43
|
if (ctype === "UTF8") {
|
|
35
44
|
if (!Array.isArray(values)) throw new Error("strings must be an array");
|
|
@@ -70,7 +79,7 @@ function unconvert(element, values) {
|
|
|
70
79
|
});
|
|
71
80
|
if (ltype?.type === "GEOMETRY" || ltype?.type === "GEOGRAPHY") {
|
|
72
81
|
if (!Array.isArray(values)) throw new Error("geometry must be an array");
|
|
73
|
-
return values
|
|
82
|
+
return mapConverted(values, (v) => {
|
|
74
83
|
if (v === null || v === void 0) return v;
|
|
75
84
|
return geojsonToWkb(v);
|
|
76
85
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { schemaFromColumnData } from "./schema.mjs";
|
|
2
2
|
import { ParquetWriter, groupSize } from "./parquet-writer.mjs";
|
|
3
|
-
function parquetWriteRows({ writer, rows, columns, schema, rowGroupSize = [1e3, 1e5], pageSize, ...options }) {
|
|
3
|
+
function parquetWriteRows({ writer, rows, columns, schema, rowGroupSize = [1e3, 1e5], pageSize, dictionarySize, ...options }) {
|
|
4
4
|
if (!Array.isArray(columns) || columns.length === 0) throw new Error("parquetWriteRows requires a non-empty columns array");
|
|
5
5
|
const isArray = Array.isArray(rows);
|
|
6
6
|
const source = rows;
|
|
@@ -60,7 +60,8 @@ function parquetWriteRows({ writer, rows, columns, schema, rowGroupSize = [1e3,
|
|
|
60
60
|
return pq.write({
|
|
61
61
|
columnData,
|
|
62
62
|
rowGroupSize: size,
|
|
63
|
-
pageSize
|
|
63
|
+
pageSize,
|
|
64
|
+
dictionarySize
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
const it = windows();
|
|
@@ -99,7 +100,8 @@ function parquetWriteRows({ writer, rows, columns, schema, rowGroupSize = [1e3,
|
|
|
99
100
|
const w = pq.write({
|
|
100
101
|
columnData,
|
|
101
102
|
rowGroupSize,
|
|
102
|
-
pageSize
|
|
103
|
+
pageSize,
|
|
104
|
+
dictionarySize
|
|
103
105
|
});
|
|
104
106
|
if (w) return w.then(() => pq?.finish());
|
|
105
107
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "../../../../hyparquet@1.28.1/node_modules/hyparquet/types/node.mjs";
|
|
2
|
+
import { Writer as Writer$1 } from "../src/types.mjs";
|
|
3
|
+
import "./write.mjs";
|
|
4
|
+
import "./write-rows.mjs";
|
|
5
|
+
import "./schema.mjs";
|
|
6
|
+
import "./bytewriter.mjs";
|
|
7
|
+
import "./parquet-writer.mjs";
|
|
8
|
+
import "./wkb.mjs";
|
|
9
|
+
type Writer = Writer$1;
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {import('hyparquet').KeyValue} KeyValue
|
|
12
|
+
* @typedef {import('hyparquet').SchemaElement} SchemaElement
|
|
13
|
+
* @typedef {import('../src/types.d.ts').BasicType} BasicType
|
|
14
|
+
* @typedef {import('../src/types.d.ts').ColumnSource} ColumnSource
|
|
15
|
+
* @typedef {import('../src/types.d.ts').ParquetWriteOptions} ParquetWriteOptions
|
|
16
|
+
* @typedef {import('../src/types.d.ts').Writer} Writer
|
|
17
|
+
*/
|
|
18
|
+
export { Writer };
|
|
@@ -65,6 +65,11 @@ const PageTypes = [
|
|
|
65
65
|
"DICTIONARY_PAGE",
|
|
66
66
|
"DATA_PAGE_V2"
|
|
67
67
|
];
|
|
68
|
+
const BoundaryOrders = [
|
|
69
|
+
"UNORDERED",
|
|
70
|
+
"ASCENDING",
|
|
71
|
+
"DESCENDING"
|
|
72
|
+
];
|
|
68
73
|
const EdgeInterpolationAlgorithms = [
|
|
69
74
|
"SPHERICAL",
|
|
70
75
|
"VINCENTY",
|
|
@@ -72,4 +77,4 @@ const EdgeInterpolationAlgorithms = [
|
|
|
72
77
|
"ANDOYER",
|
|
73
78
|
"KARNEY"
|
|
74
79
|
];
|
|
75
|
-
export { CompressionCodecs, ConvertedTypes, EdgeInterpolationAlgorithms, Encodings, FieldRepetitionTypes, PageTypes, ParquetTypes };
|
|
80
|
+
export { BoundaryOrders, CompressionCodecs, ConvertedTypes, EdgeInterpolationAlgorithms, Encodings, FieldRepetitionTypes, PageTypes, ParquetTypes };
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { hashParquetValue, sbbfContains } from "./bloom.mjs";
|
|
2
|
+
import { equals } from "./utils.mjs";
|
|
3
|
+
const encoder = new TextEncoder();
|
|
4
|
+
function pathsNeededForFilter(filter) {
|
|
5
|
+
if (!filter) return [];
|
|
6
|
+
const paths = [];
|
|
7
|
+
if ("$and" in filter && Array.isArray(filter.$and)) paths.push(...filter.$and.flatMap(pathsNeededForFilter));
|
|
8
|
+
else if ("$or" in filter && Array.isArray(filter.$or)) paths.push(...filter.$or.flatMap(pathsNeededForFilter));
|
|
9
|
+
else if ("$nor" in filter && Array.isArray(filter.$nor)) paths.push(...filter.$nor.flatMap(pathsNeededForFilter));
|
|
10
|
+
else paths.push(...Object.keys(filter));
|
|
11
|
+
return [...new Set(paths)];
|
|
12
|
+
}
|
|
13
|
+
function columnsNeededForFilter(filter) {
|
|
14
|
+
return [...new Set(pathsNeededForFilter(filter).map((path) => path.split(".")[0]))];
|
|
15
|
+
}
|
|
16
|
+
function matchFilter(record, filter, strict = true) {
|
|
17
|
+
if ("$and" in filter && Array.isArray(filter.$and)) return filter.$and.every((subQuery) => matchFilter(record, subQuery, strict));
|
|
18
|
+
if ("$or" in filter && Array.isArray(filter.$or)) return filter.$or.some((subQuery) => matchFilter(record, subQuery, strict));
|
|
19
|
+
if ("$nor" in filter && Array.isArray(filter.$nor)) return !filter.$nor.some((subQuery) => matchFilter(record, subQuery, strict));
|
|
20
|
+
return Object.entries(filter).every(([field, condition]) => {
|
|
21
|
+
const value = resolve(record, field);
|
|
22
|
+
if (typeof condition !== "object" || condition === null || Array.isArray(condition)) return equals(value, condition, strict);
|
|
23
|
+
return Object.entries(condition || {}).every(([operator, target]) => {
|
|
24
|
+
if (operator === "$gt") return value !== null && value !== void 0 && value > target;
|
|
25
|
+
if (operator === "$gte") return value !== null && value !== void 0 && value >= target;
|
|
26
|
+
if (operator === "$lt") return value !== null && value !== void 0 && value < target;
|
|
27
|
+
if (operator === "$lte") return value !== null && value !== void 0 && value <= target;
|
|
28
|
+
if (operator === "$eq") return equals(value, target, strict);
|
|
29
|
+
if (operator === "$ne") return !equals(value, target, strict);
|
|
30
|
+
if (operator === "$in") return Array.isArray(target) && matchesIn(value, target, strict);
|
|
31
|
+
if (operator === "$nin") return Array.isArray(target) && !matchesIn(value, target, strict);
|
|
32
|
+
if (operator === "$not") return !matchFilter({ [field]: value }, { [field]: target }, strict);
|
|
33
|
+
return true;
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function matchesIn(value, targets, strict) {
|
|
38
|
+
return targets.some((target) => equals(value, target, strict) || Array.isArray(value) && value.some((element) => equals(element, target, strict)));
|
|
39
|
+
}
|
|
40
|
+
function canSkipRowGroup({ rowGroup, physicalColumns, filter, strict = true, bloomFilters, schemaElements }) {
|
|
41
|
+
if (!filter) return false;
|
|
42
|
+
if ("$and" in filter && Array.isArray(filter.$and)) return filter.$and.some((subFilter) => canSkipRowGroup({
|
|
43
|
+
rowGroup,
|
|
44
|
+
physicalColumns,
|
|
45
|
+
filter: subFilter,
|
|
46
|
+
strict,
|
|
47
|
+
bloomFilters,
|
|
48
|
+
schemaElements
|
|
49
|
+
}));
|
|
50
|
+
if ("$or" in filter && Array.isArray(filter.$or)) return filter.$or.every((subFilter) => canSkipRowGroup({
|
|
51
|
+
rowGroup,
|
|
52
|
+
physicalColumns,
|
|
53
|
+
filter: subFilter,
|
|
54
|
+
strict,
|
|
55
|
+
bloomFilters,
|
|
56
|
+
schemaElements
|
|
57
|
+
}));
|
|
58
|
+
if ("$nor" in filter && Array.isArray(filter.$nor)) return false;
|
|
59
|
+
for (const [field, condition] of Object.entries(filter)) {
|
|
60
|
+
const columnIndex = physicalColumns.indexOf(field);
|
|
61
|
+
if (columnIndex === -1) continue;
|
|
62
|
+
const { min, max, min_value, max_value, null_count: nullCount } = rowGroup.columns[columnIndex].meta_data?.statistics || {};
|
|
63
|
+
const minVal = min_value !== void 0 ? min_value : min;
|
|
64
|
+
const maxVal = max_value !== void 0 ? max_value : max;
|
|
65
|
+
const haveStats = minVal !== void 0 && maxVal !== void 0;
|
|
66
|
+
const bloom = bloomFilters?.[field];
|
|
67
|
+
const element = schemaElements?.[field];
|
|
68
|
+
const matchingNulls = matchFilter({ value: null }, { value: condition }, strict) && (nullCount === void 0 || nullCount > 0);
|
|
69
|
+
if (haveStats && !matchingNulls && canSkipStats(condition, minVal, maxVal, strict, element)) return true;
|
|
70
|
+
for (const [operator, target] of Object.entries(condition || {})) if (bloom && element) {
|
|
71
|
+
if (operator === "$eq") {
|
|
72
|
+
const hash = hashParquetValue(target, element);
|
|
73
|
+
if (hash !== void 0 && !sbbfContains(bloom.blocks, hash)) return true;
|
|
74
|
+
}
|
|
75
|
+
if (operator === "$in" && Array.isArray(target) && target.length > 0) {
|
|
76
|
+
let allAbsent = true;
|
|
77
|
+
for (const v of target) {
|
|
78
|
+
const h = hashParquetValue(v, element);
|
|
79
|
+
if (h === void 0 || sbbfContains(bloom.blocks, h)) {
|
|
80
|
+
allAbsent = false;
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (allAbsent) return true;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
function canSkipStats(condition, minVal, maxVal, strict, element) {
|
|
91
|
+
if (minVal === void 0 || maxVal === void 0) return false;
|
|
92
|
+
const mayContainNaN = element?.type === "FLOAT" || element?.type === "DOUBLE" || element?.logical_type?.type === "FLOAT16";
|
|
93
|
+
for (const [operator, target] of Object.entries(condition || {})) {
|
|
94
|
+
const minComparison = compareParquetValues(minVal, target, strict, element);
|
|
95
|
+
const maxComparison = compareParquetValues(maxVal, target, strict, element);
|
|
96
|
+
const relationalBoundsAreSafe = !(minVal instanceof Uint8Array || maxVal instanceof Uint8Array) && (element?.type !== "BYTE_ARRAY" || typeof target === "string" && [...target].every((character) => character.charCodeAt(0) <= 127));
|
|
97
|
+
if (operator === "$gt" && relationalBoundsAreSafe && maxComparison !== void 0 && maxComparison <= 0) return true;
|
|
98
|
+
if (operator === "$gte" && relationalBoundsAreSafe && maxComparison !== void 0 && maxComparison < 0) return true;
|
|
99
|
+
if (operator === "$lt" && relationalBoundsAreSafe && minComparison !== void 0 && minComparison >= 0) return true;
|
|
100
|
+
if (operator === "$lte" && relationalBoundsAreSafe && minComparison !== void 0 && minComparison > 0) return true;
|
|
101
|
+
if (operator === "$eq") {
|
|
102
|
+
const targetMinComparison = compareParquetValues(target, minVal, strict, element);
|
|
103
|
+
const targetMaxComparison = compareParquetValues(target, maxVal, strict, element);
|
|
104
|
+
if (targetMinComparison !== void 0 && targetMinComparison < 0 || targetMaxComparison !== void 0 && targetMaxComparison > 0) return true;
|
|
105
|
+
}
|
|
106
|
+
if (operator === "$ne" && !mayContainNaN && equals(minVal, maxVal, strict) && equals(minVal, target, strict)) return true;
|
|
107
|
+
if (operator === "$in" && Array.isArray(target) && target.every((value) => {
|
|
108
|
+
const valueMinComparison = compareParquetValues(value, minVal, strict, element);
|
|
109
|
+
const valueMaxComparison = compareParquetValues(value, maxVal, strict, element);
|
|
110
|
+
return valueMinComparison !== void 0 && valueMinComparison < 0 || valueMaxComparison !== void 0 && valueMaxComparison > 0;
|
|
111
|
+
})) return true;
|
|
112
|
+
if (operator === "$nin" && !mayContainNaN && Array.isArray(target) && equals(minVal, maxVal, strict) && target.some((value) => equals(minVal, value, strict))) return true;
|
|
113
|
+
}
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
function compareParquetValues(a, b, strict, element) {
|
|
117
|
+
if (element?.type === "BYTE_ARRAY") {
|
|
118
|
+
if (typeof a !== "string" || typeof b !== "string") return void 0;
|
|
119
|
+
return compareBytes(encoder.encode(a), encoder.encode(b));
|
|
120
|
+
}
|
|
121
|
+
if (a instanceof Uint8Array || b instanceof Uint8Array) {
|
|
122
|
+
if (!(a instanceof Uint8Array) || !(b instanceof Uint8Array)) return void 0;
|
|
123
|
+
return compareBytes(a, b);
|
|
124
|
+
}
|
|
125
|
+
if (a < b) return -1;
|
|
126
|
+
if (a > b) return 1;
|
|
127
|
+
if (equals(a, b, strict)) return 0;
|
|
128
|
+
}
|
|
129
|
+
function compareBytes(a, b) {
|
|
130
|
+
const length = Math.min(a.length, b.length);
|
|
131
|
+
for (let i = 0; i < length; i++) {
|
|
132
|
+
if (a[i] < b[i]) return -1;
|
|
133
|
+
if (a[i] > b[i]) return 1;
|
|
134
|
+
}
|
|
135
|
+
if (a.length < b.length) return -1;
|
|
136
|
+
if (a.length > b.length) return 1;
|
|
137
|
+
return 0;
|
|
138
|
+
}
|
|
139
|
+
function matchesNull(condition, strict) {
|
|
140
|
+
return matchFilter({ value: null }, { value: condition }, strict);
|
|
141
|
+
}
|
|
142
|
+
function filterPageRanges(filter, columnPages, groupRows, strict = true) {
|
|
143
|
+
if (!filter) return void 0;
|
|
144
|
+
if ("$and" in filter && Array.isArray(filter.$and)) {
|
|
145
|
+
let ranges;
|
|
146
|
+
for (const subFilter of filter.$and) ranges = intersectRanges(ranges, filterPageRanges(subFilter, columnPages, groupRows, strict));
|
|
147
|
+
return ranges;
|
|
148
|
+
}
|
|
149
|
+
if ("$or" in filter && Array.isArray(filter.$or)) {
|
|
150
|
+
let ranges = [];
|
|
151
|
+
for (const subFilter of filter.$or) {
|
|
152
|
+
const subRanges = filterPageRanges(subFilter, columnPages, groupRows, strict);
|
|
153
|
+
if (!subRanges) return void 0;
|
|
154
|
+
ranges = unionRanges(ranges, subRanges);
|
|
155
|
+
}
|
|
156
|
+
return ranges;
|
|
157
|
+
}
|
|
158
|
+
if ("$nor" in filter && Array.isArray(filter.$nor)) return;
|
|
159
|
+
let result;
|
|
160
|
+
for (const [field, condition] of Object.entries(filter)) {
|
|
161
|
+
const pages = columnPages[field];
|
|
162
|
+
if (!pages) continue;
|
|
163
|
+
const nullCanMatch = matchesNull(condition, strict);
|
|
164
|
+
const keep = [];
|
|
165
|
+
for (let i = 0; i < pages.pageStarts.length; i++) {
|
|
166
|
+
const start = pages.pageStarts[i];
|
|
167
|
+
const end = i + 1 < pages.pageStarts.length ? pages.pageStarts[i + 1] : groupRows;
|
|
168
|
+
const nullCount = pages.nullCounts?.[i];
|
|
169
|
+
const matchingNulls = nullCanMatch && (nullCount === void 0 || nullCount > 0);
|
|
170
|
+
if (!(!pages.nullPages[i] && !matchingNulls && canSkipStats(condition, pages.minValues[i], pages.maxValues[i], strict, pages.element))) {
|
|
171
|
+
const last = keep[keep.length - 1];
|
|
172
|
+
if (last && last[1] === start) last[1] = end;
|
|
173
|
+
else keep.push([start, end]);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
result = intersectRanges(result, keep);
|
|
177
|
+
}
|
|
178
|
+
return result;
|
|
179
|
+
}
|
|
180
|
+
function intersectRanges(a, b) {
|
|
181
|
+
if (!a) return b;
|
|
182
|
+
if (!b) return a;
|
|
183
|
+
const out = [];
|
|
184
|
+
let i = 0;
|
|
185
|
+
let j = 0;
|
|
186
|
+
while (i < a.length && j < b.length) {
|
|
187
|
+
const start = Math.max(a[i][0], b[j][0]);
|
|
188
|
+
const end = Math.min(a[i][1], b[j][1]);
|
|
189
|
+
if (start < end) out.push([start, end]);
|
|
190
|
+
if (a[i][1] < b[j][1]) i++;
|
|
191
|
+
else j++;
|
|
192
|
+
}
|
|
193
|
+
return out;
|
|
194
|
+
}
|
|
195
|
+
function unionRanges(a, b) {
|
|
196
|
+
const out = [];
|
|
197
|
+
let i = 0;
|
|
198
|
+
let j = 0;
|
|
199
|
+
while (i < a.length || j < b.length) {
|
|
200
|
+
const next = j >= b.length || i < a.length && a[i][0] <= b[j][0] ? a[i++] : b[j++];
|
|
201
|
+
const last = out[out.length - 1];
|
|
202
|
+
if (last && next[0] <= last[1]) last[1] = Math.max(last[1], next[1]);
|
|
203
|
+
else out.push([next[0], next[1]]);
|
|
204
|
+
}
|
|
205
|
+
return out;
|
|
206
|
+
}
|
|
207
|
+
function resolve(record, path) {
|
|
208
|
+
let value = record;
|
|
209
|
+
for (const part of path.split(".")) value = value?.[part];
|
|
210
|
+
return value;
|
|
211
|
+
}
|
|
212
|
+
export { canSkipRowGroup, columnsNeededForFilter, filterPageRanges, intersectRanges, matchFilter, pathsNeededForFilter, unionRanges };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BoundaryOrders } from "./constants.mjs";
|
|
2
|
+
import { DEFAULT_PARSERS } from "./convert.mjs";
|
|
3
|
+
import { deserializeTCompactProtocol } from "./thrift.mjs";
|
|
4
|
+
import { convertMetadata } from "./metadata.mjs";
|
|
5
|
+
function readColumnIndex(reader, schema, parsers = void 0) {
|
|
6
|
+
parsers = {
|
|
7
|
+
...DEFAULT_PARSERS,
|
|
8
|
+
...parsers
|
|
9
|
+
};
|
|
10
|
+
const thrift = deserializeTCompactProtocol(reader);
|
|
11
|
+
return {
|
|
12
|
+
null_pages: thrift.field_1,
|
|
13
|
+
min_values: thrift.field_2.map((m) => convertMetadata(m, schema, parsers)),
|
|
14
|
+
max_values: thrift.field_3.map((m) => convertMetadata(m, schema, parsers)),
|
|
15
|
+
boundary_order: BoundaryOrders[thrift.field_4],
|
|
16
|
+
null_counts: thrift.field_5,
|
|
17
|
+
repetition_level_histograms: thrift.field_6,
|
|
18
|
+
definition_level_histograms: thrift.field_7
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function readOffsetIndex(reader) {
|
|
22
|
+
const thrift = deserializeTCompactProtocol(reader);
|
|
23
|
+
return {
|
|
24
|
+
page_locations: thrift.field_1.map((loc) => ({
|
|
25
|
+
offset: loc.field_1,
|
|
26
|
+
compressed_page_size: loc.field_2,
|
|
27
|
+
first_row_index: loc.field_3
|
|
28
|
+
})),
|
|
29
|
+
unencoded_byte_array_data_bytes: thrift.field_2
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export { readColumnIndex, readOffsetIndex };
|
|
@@ -219,12 +219,17 @@ function convertMetadata(value, schema, parsers) {
|
|
|
219
219
|
const view = new DataView(value.buffer, value.byteOffset, value.byteLength);
|
|
220
220
|
if (type === "FLOAT" && view.byteLength === 4) return view.getFloat32(0, true);
|
|
221
221
|
if (type === "DOUBLE" && view.byteLength === 8) return view.getFloat64(0, true);
|
|
222
|
+
if (type === "INT32" && converted_type === "DECIMAL" && view.byteLength === 4) return view.getInt32(0, true) * 10 ** -(schema.scale || 0);
|
|
223
|
+
if (type === "INT64" && converted_type === "DECIMAL" && view.byteLength === 8) return Number(view.getBigInt64(0, true)) * 10 ** -(schema.scale || 0);
|
|
222
224
|
if (type === "INT32" && converted_type === "DATE") return parsers.dateFromDays(view.getInt32(0, true));
|
|
223
225
|
if (type === "INT64" && converted_type === "TIMESTAMP_MILLIS") return parsers.timestampFromMilliseconds(view.getBigInt64(0, true));
|
|
224
226
|
if (type === "INT64" && converted_type === "TIMESTAMP_MICROS") return parsers.timestampFromMicroseconds(view.getBigInt64(0, true));
|
|
225
227
|
if (type === "INT64" && logical_type?.type === "TIMESTAMP" && logical_type?.unit === "NANOS") return parsers.timestampFromNanoseconds(view.getBigInt64(0, true));
|
|
226
228
|
if (type === "INT64" && logical_type?.type === "TIMESTAMP" && logical_type?.unit === "MICROS") return parsers.timestampFromMicroseconds(view.getBigInt64(0, true));
|
|
227
229
|
if (type === "INT64" && logical_type?.type === "TIMESTAMP") return parsers.timestampFromMilliseconds(view.getBigInt64(0, true));
|
|
230
|
+
const unsigned = converted_type?.startsWith("UINT_") || logical_type?.type === "INTEGER" && !logical_type.isSigned;
|
|
231
|
+
if (type === "INT32" && unsigned && view.byteLength === 4) return view.getUint32(0, true);
|
|
232
|
+
if (type === "INT64" && unsigned && view.byteLength === 8) return view.getBigUint64(0, true);
|
|
228
233
|
if (type === "INT32" && view.byteLength === 4) return view.getInt32(0, true);
|
|
229
234
|
if (type === "INT64" && view.byteLength === 8) return view.getBigInt64(0, true);
|
|
230
235
|
if (converted_type === "DECIMAL") return parseDecimal(value) * 10 ** -(schema.scale || 0);
|