@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ParquetQueryFilter } from "../node_modules/.pnpm/hyparquet@1.
|
|
2
|
-
import "../node_modules/.pnpm/hyparquet@1.
|
|
1
|
+
import { ParquetQueryFilter } from "../node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/types/index.mjs";
|
|
2
|
+
import "../node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/types/node.mjs";
|
|
3
3
|
import { CodecCtx, DataSource, ParquetCodec, Row, TableName } from "../storage.mjs";
|
|
4
4
|
import { ColumnDef } from "../schema.mjs";
|
|
5
5
|
declare function encodeRowsToParquet(table: TableName, rows: readonly Row[]): Uint8Array;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TABLE_METADATA } from "../drizzle-schema.mjs";
|
|
2
2
|
import { SCHEMAS } from "../schema.mjs";
|
|
3
|
-
import { parquetReadObjects } from "../node_modules/.pnpm/hyparquet@1.
|
|
4
|
-
import "../node_modules/.pnpm/hyparquet@1.
|
|
5
|
-
import { ByteWriter } from "../node_modules/.pnpm/hyparquet-writer@0.16.
|
|
6
|
-
import { parquetWriteRows } from "../node_modules/.pnpm/hyparquet-writer@0.16.
|
|
7
|
-
import "../node_modules/.pnpm/hyparquet-writer@0.16.
|
|
3
|
+
import { parquetReadObjects } from "../node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/read.mjs";
|
|
4
|
+
import "../node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/node.mjs";
|
|
5
|
+
import { ByteWriter } from "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/bytewriter.mjs";
|
|
6
|
+
import { parquetWriteRows } from "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/write-rows.mjs";
|
|
7
|
+
import "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/node.mjs";
|
|
8
8
|
const ROW_GROUP_SIZE = 25e3;
|
|
9
9
|
const DEFAULT_COMPACTION_READ_CONCURRENCY = 8;
|
|
10
10
|
const MAX_COMPACTION_READ_CONCURRENCY = 32;
|
|
@@ -197,7 +197,8 @@ async function decodeParquetToRows(bytes, opts = {}) {
|
|
|
197
197
|
...opts.columns ? { columns: [...opts.columns] } : {},
|
|
198
198
|
...opts.filter ? {
|
|
199
199
|
filter: opts.filter,
|
|
200
|
-
useBloomFilters: true
|
|
200
|
+
useBloomFilters: true,
|
|
201
|
+
usePageIndex: true
|
|
201
202
|
} : {}
|
|
202
203
|
}));
|
|
203
204
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EngineError } from "../errors.mjs";
|
|
2
2
|
import { IcebergTableName, PartitionKeyEncoding } from "./schema.mjs";
|
|
3
|
-
import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.
|
|
4
|
-
import "../node_modules/.pnpm/icebird@0.8.
|
|
3
|
+
import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/write/write.mjs";
|
|
4
|
+
import "../node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/index.mjs";
|
|
5
5
|
import { Result } from "gscdump/result";
|
|
6
6
|
import { CommitRetryOptions, ConnectIcebergOptions, IcebergCatalogConfig, IcebergConnection, IcebergListedDataFile, QueryProfiler } from "@gscdump/lakehouse";
|
|
7
7
|
type IcebirdCreateTableOptions = Parameters<typeof icebergCreateTable>[0];
|
package/dist/iceberg/catalog.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { engineErrors } from "../errors.mjs";
|
|
|
2
2
|
import { TABLE_METADATA } from "../drizzle-schema.mjs";
|
|
3
3
|
import "../schema.mjs";
|
|
4
4
|
import { DEFAULT_PARTITION_KEY_ENCODING, ICEBERG_PARTITION_SPEC, ICEBERG_TABLES, icebergSchemasFor } from "./schema.mjs";
|
|
5
|
-
import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.
|
|
6
|
-
import "../node_modules/.pnpm/icebird@0.8.
|
|
5
|
+
import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/write/write.mjs";
|
|
6
|
+
import "../node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/index.mjs";
|
|
7
7
|
import { err, ok } from "gscdump/result";
|
|
8
8
|
import { ICEBERG_TYPE_MAP, connectIcebergCatalog, dropIcebergTables, resolveIcebergDataFiles } from "@gscdump/lakehouse";
|
|
9
9
|
import { icebergAppendRetrying } from "@gscdump/lakehouse/unsafe-raw";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hashParquetValue } from "../../../../hyparquet@1.
|
|
1
|
+
import { hashParquetValue } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/bloom.mjs";
|
|
2
2
|
import { serializeTCompactProtocol } from "./thrift.mjs";
|
|
3
3
|
const SALT = new Uint32Array([
|
|
4
4
|
1203114875,
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var ByteWriter = class {
|
|
2
|
+
constructor(initalSize = 1024) {
|
|
3
|
+
this.buffer = new ArrayBuffer(initalSize);
|
|
4
|
+
this.view = new DataView(this.buffer);
|
|
5
|
+
this.offset = 0;
|
|
6
|
+
this.index = 0;
|
|
7
|
+
}
|
|
8
|
+
ensure(size) {
|
|
9
|
+
if (this.index + size > this.buffer.byteLength) {
|
|
10
|
+
const newSize = Math.max(this.buffer.byteLength * 2, this.index + size);
|
|
11
|
+
const newBuffer = new ArrayBuffer(newSize);
|
|
12
|
+
new Uint8Array(newBuffer).set(new Uint8Array(this.buffer));
|
|
13
|
+
this.buffer = newBuffer;
|
|
14
|
+
this.view = new DataView(this.buffer);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
finish() {}
|
|
18
|
+
getBuffer() {
|
|
19
|
+
return this.buffer.slice(0, this.index);
|
|
20
|
+
}
|
|
21
|
+
getBytes() {
|
|
22
|
+
return new Uint8Array(this.buffer, 0, this.index);
|
|
23
|
+
}
|
|
24
|
+
appendUint8(value) {
|
|
25
|
+
this.ensure(this.index + 1);
|
|
26
|
+
this.view.setUint8(this.index, value);
|
|
27
|
+
this.offset++;
|
|
28
|
+
this.index++;
|
|
29
|
+
}
|
|
30
|
+
appendUint32(value) {
|
|
31
|
+
this.ensure(this.index + 4);
|
|
32
|
+
this.view.setUint32(this.index, value, true);
|
|
33
|
+
this.offset += 4;
|
|
34
|
+
this.index += 4;
|
|
35
|
+
}
|
|
36
|
+
appendInt32(value) {
|
|
37
|
+
this.ensure(this.index + 4);
|
|
38
|
+
this.view.setInt32(this.index, value, true);
|
|
39
|
+
this.offset += 4;
|
|
40
|
+
this.index += 4;
|
|
41
|
+
}
|
|
42
|
+
appendInt64(value) {
|
|
43
|
+
this.ensure(this.index + 8);
|
|
44
|
+
this.view.setBigInt64(this.index, BigInt(value), true);
|
|
45
|
+
this.offset += 8;
|
|
46
|
+
this.index += 8;
|
|
47
|
+
}
|
|
48
|
+
appendFloat32(value) {
|
|
49
|
+
this.ensure(this.index + 8);
|
|
50
|
+
this.view.setFloat32(this.index, value, true);
|
|
51
|
+
this.offset += 4;
|
|
52
|
+
this.index += 4;
|
|
53
|
+
}
|
|
54
|
+
appendFloat64(value) {
|
|
55
|
+
this.ensure(this.index + 8);
|
|
56
|
+
this.view.setFloat64(this.index, value, true);
|
|
57
|
+
this.offset += 8;
|
|
58
|
+
this.index += 8;
|
|
59
|
+
}
|
|
60
|
+
appendBuffer(value) {
|
|
61
|
+
this.appendBytes(new Uint8Array(value));
|
|
62
|
+
}
|
|
63
|
+
appendBytes(value) {
|
|
64
|
+
this.ensure(this.index + value.length);
|
|
65
|
+
new Uint8Array(this.buffer, this.index, value.length).set(value);
|
|
66
|
+
this.offset += value.length;
|
|
67
|
+
this.index += value.length;
|
|
68
|
+
}
|
|
69
|
+
appendVarInt(value) {
|
|
70
|
+
while (true) if ((value & -128) === 0) {
|
|
71
|
+
this.appendUint8(value);
|
|
72
|
+
return;
|
|
73
|
+
} else {
|
|
74
|
+
this.appendUint8(value & 127 | 128);
|
|
75
|
+
value >>>= 7;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
appendVarBigInt(value) {
|
|
79
|
+
while (true) if ((value & -128n) === 0n) {
|
|
80
|
+
this.appendUint8(Number(value));
|
|
81
|
+
return;
|
|
82
|
+
} else {
|
|
83
|
+
this.appendUint8(Number(value & 127n | 128n));
|
|
84
|
+
value >>= 7n;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
appendZigZag(value) {
|
|
88
|
+
if (typeof value === "number") this.appendVarInt(value << 1 ^ value >> 31);
|
|
89
|
+
else this.appendVarBigInt(value << 1n ^ value >> 63n);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export { ByteWriter };
|
|
@@ -4,7 +4,7 @@ import { estimateValueSize, useDictionary, writeDictionaryPage } from "./diction
|
|
|
4
4
|
import { geospatialStatistics } from "./geospatial.mjs";
|
|
5
5
|
import { unconvert, unconvertMinMax } from "./unconvert.mjs";
|
|
6
6
|
function writeColumn({ writer, column, pageData }) {
|
|
7
|
-
const { columnName, element, schemaPath, stats, pageSize, encoding: userEncoding } = column;
|
|
7
|
+
const { columnName, element, schemaPath, stats, pageSize, dictionarySize, encoding: userEncoding } = column;
|
|
8
8
|
const { type, type_length } = element;
|
|
9
9
|
if (!type) throw new Error(`column ${columnName} cannot determine type`);
|
|
10
10
|
const { values, definitionLevels, repetitionLevels, maxDefinitionLevel } = pageData;
|
|
@@ -21,7 +21,9 @@ function writeColumn({ writer, column, pageData }) {
|
|
|
21
21
|
bloomFilter = builder.finalize();
|
|
22
22
|
}
|
|
23
23
|
let dictionary_page_offset;
|
|
24
|
-
const
|
|
24
|
+
const selectPhysical = element.converted_type !== "UTF8";
|
|
25
|
+
const dictionaryValues = selectPhysical ? unconvert(element, values) : values;
|
|
26
|
+
const { dictionary, indexes } = useDictionary(dictionaryValues, type, type_length, userEncoding, dictionarySize, maxDefinitionLevel === 0);
|
|
25
27
|
let encoding;
|
|
26
28
|
let writeValues;
|
|
27
29
|
let writeType = type;
|
|
@@ -30,11 +32,11 @@ function writeColumn({ writer, column, pageData }) {
|
|
|
30
32
|
writeType = "INT32";
|
|
31
33
|
encoding = "RLE_DICTIONARY";
|
|
32
34
|
dictionary_page_offset = BigInt(writer.offset);
|
|
33
|
-
const unconverted = unconvert(element, dictionary);
|
|
35
|
+
const unconverted = selectPhysical ? dictionary : unconvert(element, dictionary);
|
|
34
36
|
writeDictionaryPage(writer, column, unconverted);
|
|
35
37
|
} else {
|
|
36
|
-
writeValues = unconvert(element, values);
|
|
37
|
-
encoding = userEncoding
|
|
38
|
+
writeValues = selectPhysical ? dictionaryValues : unconvert(element, values);
|
|
39
|
+
encoding = userEncoding && userEncoding !== "RLE_DICTIONARY" ? userEncoding : type === "BOOLEAN" && values.length > 16 ? "RLE" : "PLAIN";
|
|
38
40
|
}
|
|
39
41
|
encodings.push(encoding);
|
|
40
42
|
const pageBoundaries = getPageBoundaries(writeValues, writeType, type_length, pageSize);
|
|
@@ -74,12 +76,14 @@ function writeColumn({ writer, column, pageData }) {
|
|
|
74
76
|
columnIndex.max_values.push(unconvertMinMax(max_value, element, true) ?? /* @__PURE__ */ new Uint8Array());
|
|
75
77
|
columnIndex.null_counts?.push(null_count);
|
|
76
78
|
if (prevMinValue !== void 0 && min_value !== void 0) {
|
|
77
|
-
|
|
78
|
-
if (
|
|
79
|
+
const order = compareValues(prevMinValue, min_value);
|
|
80
|
+
if (order > 0) ascending = false;
|
|
81
|
+
if (order < 0) descending = false;
|
|
79
82
|
}
|
|
80
83
|
if (prevMaxValue !== void 0 && max_value !== void 0) {
|
|
81
|
-
|
|
82
|
-
if (
|
|
84
|
+
const order = compareValues(prevMaxValue, max_value);
|
|
85
|
+
if (order > 0) ascending = false;
|
|
86
|
+
if (order < 0) descending = false;
|
|
83
87
|
}
|
|
84
88
|
prevMinValue = min_value;
|
|
85
89
|
prevMaxValue = max_value;
|
|
@@ -172,10 +176,10 @@ function getStatistics(values) {
|
|
|
172
176
|
null_count++;
|
|
173
177
|
continue;
|
|
174
178
|
}
|
|
175
|
-
if (typeof value === "object") continue;
|
|
179
|
+
if (typeof value === "object" && !(value instanceof Uint8Array)) continue;
|
|
176
180
|
if (typeof value === "number" && Number.isNaN(value)) continue;
|
|
177
|
-
if (min_value === void 0 || value <
|
|
178
|
-
if (max_value === void 0 || value >
|
|
181
|
+
if (min_value === void 0 || compareValues(value, min_value) < 0) min_value = value;
|
|
182
|
+
if (max_value === void 0 || compareValues(value, max_value) > 0) max_value = value;
|
|
179
183
|
}
|
|
180
184
|
if (min_value === 0) min_value = -0;
|
|
181
185
|
if (max_value === 0) max_value = 0;
|
|
@@ -185,4 +189,14 @@ function getStatistics(values) {
|
|
|
185
189
|
null_count
|
|
186
190
|
};
|
|
187
191
|
}
|
|
192
|
+
function compareValues(left, right) {
|
|
193
|
+
if (left instanceof Uint8Array && right instanceof Uint8Array) {
|
|
194
|
+
const length = Math.min(left.length, right.length);
|
|
195
|
+
for (let i = 0; i < length; i += 1) if (left[i] !== right[i]) return left[i] - right[i];
|
|
196
|
+
return left.length - right.length;
|
|
197
|
+
}
|
|
198
|
+
if (left < right) return -1;
|
|
199
|
+
if (left > right) return 1;
|
|
200
|
+
return 0;
|
|
201
|
+
}
|
|
188
202
|
export { writeColumn };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ByteWriter } from "./bytewriter.mjs";
|
|
2
2
|
import { serializeTCompactProtocol } from "./thrift.mjs";
|
|
3
|
-
import { Encodings, PageTypes } from "../../../../hyparquet@1.
|
|
3
|
+
import { Encodings, PageTypes } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/constants.mjs";
|
|
4
4
|
import { deltaBinaryPack, deltaByteArray, deltaLengthByteArray } from "./delta.mjs";
|
|
5
5
|
import { writeRleBitPackedHybrid } from "./encoding.mjs";
|
|
6
6
|
import { writePlain } from "./plain.mjs";
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
const BLOCK_SIZE = 128;
|
|
2
|
+
const MINIBLOCKS_PER_BLOCK = 4;
|
|
3
|
+
const VALUES_PER_MINIBLOCK = BLOCK_SIZE / MINIBLOCKS_PER_BLOCK;
|
|
4
|
+
function deltaBinaryPack(writer, values) {
|
|
5
|
+
if (values.length === 0) {
|
|
6
|
+
writer.appendVarInt(BLOCK_SIZE);
|
|
7
|
+
writer.appendVarInt(MINIBLOCKS_PER_BLOCK);
|
|
8
|
+
writer.appendVarInt(0);
|
|
9
|
+
writer.appendVarInt(0);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (typeof values[0] !== "number" && typeof values[0] !== "bigint") throw new Error("deltaBinaryPack only supports number or bigint arrays");
|
|
13
|
+
if (usesInt32NumberPath(values)) deltaBinaryPackInt32(writer, values);
|
|
14
|
+
else deltaBinaryPackBigInt(writer, values);
|
|
15
|
+
}
|
|
16
|
+
function usesInt32NumberPath(values) {
|
|
17
|
+
if (values instanceof Int32Array) return true;
|
|
18
|
+
for (let i = 0; i < values.length; i++) {
|
|
19
|
+
const value = values[i];
|
|
20
|
+
if (typeof value !== "number" || !Number.isInteger(value) || value < -2147483648 || value > 2147483647) return false;
|
|
21
|
+
}
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
function deltaBinaryPackInt32(writer, values) {
|
|
25
|
+
const count = values.length;
|
|
26
|
+
writer.appendVarInt(BLOCK_SIZE);
|
|
27
|
+
writer.appendVarInt(MINIBLOCKS_PER_BLOCK);
|
|
28
|
+
writer.appendVarInt(count);
|
|
29
|
+
appendZigZagNumber(writer, Number(values[0]));
|
|
30
|
+
const packedByBitWidth = [];
|
|
31
|
+
const blockDeltas = new Float64Array(BLOCK_SIZE);
|
|
32
|
+
const bitWidths = new Uint8Array(MINIBLOCKS_PER_BLOCK);
|
|
33
|
+
let index = 1;
|
|
34
|
+
while (index < count) {
|
|
35
|
+
const blockEnd = Math.min(index + BLOCK_SIZE, count);
|
|
36
|
+
const blockSize = blockEnd - index;
|
|
37
|
+
let minDelta = Number(values[index]) - Number(values[index - 1]);
|
|
38
|
+
blockDeltas[0] = minDelta;
|
|
39
|
+
for (let i = 1; i < blockSize; i++) {
|
|
40
|
+
const delta = Number(values[index + i]) - Number(values[index + i - 1]);
|
|
41
|
+
blockDeltas[i] = delta;
|
|
42
|
+
if (delta < minDelta) minDelta = delta;
|
|
43
|
+
}
|
|
44
|
+
appendZigZagNumber(writer, minDelta);
|
|
45
|
+
for (let mb = 0; mb < MINIBLOCKS_PER_BLOCK; mb++) {
|
|
46
|
+
const mbStart = mb * VALUES_PER_MINIBLOCK;
|
|
47
|
+
const mbEnd = Math.min(mbStart + VALUES_PER_MINIBLOCK, blockSize);
|
|
48
|
+
let maxAdjusted = 0;
|
|
49
|
+
for (let i = mbStart; i < mbEnd; i++) {
|
|
50
|
+
const adjusted = blockDeltas[i] - minDelta;
|
|
51
|
+
if (adjusted > maxAdjusted) maxAdjusted = adjusted;
|
|
52
|
+
}
|
|
53
|
+
bitWidths[mb] = bitWidthNumber(maxAdjusted);
|
|
54
|
+
}
|
|
55
|
+
writer.appendBytes(bitWidths);
|
|
56
|
+
for (let mb = 0; mb < MINIBLOCKS_PER_BLOCK; mb++) {
|
|
57
|
+
const bitWidth = bitWidths[mb];
|
|
58
|
+
if (bitWidth === 0) continue;
|
|
59
|
+
const mbStart = mb * VALUES_PER_MINIBLOCK;
|
|
60
|
+
const mbEnd = Math.min(mbStart + VALUES_PER_MINIBLOCK, blockSize);
|
|
61
|
+
const packed = packedByBitWidth[bitWidth] ??= new Uint8Array(bitWidth * 4);
|
|
62
|
+
let byteIndex = 0;
|
|
63
|
+
let buffer = 0;
|
|
64
|
+
let bitsUsed = 0;
|
|
65
|
+
if (bitWidth <= 25) for (let i = 0; i < VALUES_PER_MINIBLOCK; i++) {
|
|
66
|
+
const adjusted = mbStart + i < mbEnd ? blockDeltas[mbStart + i] - minDelta : 0;
|
|
67
|
+
buffer |= adjusted << bitsUsed;
|
|
68
|
+
bitsUsed += bitWidth;
|
|
69
|
+
while (bitsUsed >= 8) {
|
|
70
|
+
packed[byteIndex++] = buffer & 255;
|
|
71
|
+
buffer >>>= 8;
|
|
72
|
+
bitsUsed -= 8;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
else for (let i = 0; i < VALUES_PER_MINIBLOCK; i++) {
|
|
76
|
+
const adjusted = mbStart + i < mbEnd ? blockDeltas[mbStart + i] - minDelta : 0;
|
|
77
|
+
buffer += adjusted * 2 ** bitsUsed;
|
|
78
|
+
bitsUsed += bitWidth;
|
|
79
|
+
while (bitsUsed >= 8) {
|
|
80
|
+
packed[byteIndex++] = buffer % 256;
|
|
81
|
+
buffer = Math.floor(buffer / 256);
|
|
82
|
+
bitsUsed -= 8;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
writer.appendBytes(packed);
|
|
86
|
+
}
|
|
87
|
+
index = blockEnd;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function deltaBinaryPackBigInt(writer, values) {
|
|
91
|
+
const count = values.length;
|
|
92
|
+
writer.appendVarInt(BLOCK_SIZE);
|
|
93
|
+
writer.appendVarInt(MINIBLOCKS_PER_BLOCK);
|
|
94
|
+
writer.appendVarInt(count);
|
|
95
|
+
writer.appendZigZag(values[0]);
|
|
96
|
+
let index = 1;
|
|
97
|
+
while (index < count) {
|
|
98
|
+
const blockEnd = Math.min(index + BLOCK_SIZE, count);
|
|
99
|
+
const blockSize = blockEnd - index;
|
|
100
|
+
const blockDeltas = new BigInt64Array(blockSize);
|
|
101
|
+
let minDelta = BigInt(values[index]) - BigInt(values[index - 1]);
|
|
102
|
+
blockDeltas[0] = minDelta;
|
|
103
|
+
for (let i = 1; i < blockSize; i++) {
|
|
104
|
+
const delta = BigInt(values[index + i]) - BigInt(values[index + i - 1]);
|
|
105
|
+
blockDeltas[i] = delta;
|
|
106
|
+
if (delta < minDelta) minDelta = delta;
|
|
107
|
+
}
|
|
108
|
+
writer.appendZigZag(minDelta);
|
|
109
|
+
const bitWidths = new Uint8Array(MINIBLOCKS_PER_BLOCK);
|
|
110
|
+
for (let mb = 0; mb < MINIBLOCKS_PER_BLOCK; mb++) {
|
|
111
|
+
const mbStart = mb * VALUES_PER_MINIBLOCK;
|
|
112
|
+
const mbEnd = Math.min(mbStart + VALUES_PER_MINIBLOCK, blockSize);
|
|
113
|
+
let maxAdjusted = 0n;
|
|
114
|
+
for (let i = mbStart; i < mbEnd; i++) {
|
|
115
|
+
const adjusted = blockDeltas[i] - minDelta;
|
|
116
|
+
if (adjusted > maxAdjusted) maxAdjusted = adjusted;
|
|
117
|
+
}
|
|
118
|
+
bitWidths[mb] = bitWidth(maxAdjusted);
|
|
119
|
+
}
|
|
120
|
+
writer.appendBytes(bitWidths);
|
|
121
|
+
for (let mb = 0; mb < MINIBLOCKS_PER_BLOCK; mb++) {
|
|
122
|
+
const bitWidth = bitWidths[mb];
|
|
123
|
+
if (bitWidth === 0) continue;
|
|
124
|
+
const mbStart = mb * VALUES_PER_MINIBLOCK;
|
|
125
|
+
const mbEnd = Math.min(mbStart + VALUES_PER_MINIBLOCK, blockSize);
|
|
126
|
+
let buffer = 0n;
|
|
127
|
+
let bitsUsed = 0;
|
|
128
|
+
for (let i = 0; i < VALUES_PER_MINIBLOCK; i++) {
|
|
129
|
+
const adjusted = mbStart + i < mbEnd ? blockDeltas[mbStart + i] - minDelta : 0n;
|
|
130
|
+
buffer |= adjusted << BigInt(bitsUsed);
|
|
131
|
+
bitsUsed += bitWidth;
|
|
132
|
+
while (bitsUsed >= 8) {
|
|
133
|
+
writer.appendUint8(Number(buffer & 255n));
|
|
134
|
+
buffer >>= 8n;
|
|
135
|
+
bitsUsed -= 8;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
index = blockEnd;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function appendZigZagNumber(writer, value) {
|
|
143
|
+
let encoded = value < 0 ? -value * 2 - 1 : value * 2;
|
|
144
|
+
while (encoded >= 128) {
|
|
145
|
+
writer.appendUint8(encoded % 128 + 128);
|
|
146
|
+
encoded = Math.floor(encoded / 128);
|
|
147
|
+
}
|
|
148
|
+
writer.appendUint8(encoded);
|
|
149
|
+
}
|
|
150
|
+
function bitWidthNumber(value) {
|
|
151
|
+
if (value === 0) return 0;
|
|
152
|
+
return value > 4294967295 ? 33 : 32 - Math.clz32(value);
|
|
153
|
+
}
|
|
154
|
+
function deltaLengthByteArray(writer, values) {
|
|
155
|
+
const lengths = new Int32Array(values.length);
|
|
156
|
+
for (let i = 0; i < values.length; i++) {
|
|
157
|
+
const value = values[i];
|
|
158
|
+
if (!(value instanceof Uint8Array)) throw new Error("deltaLengthByteArray expects Uint8Array values");
|
|
159
|
+
lengths[i] = value.length;
|
|
160
|
+
}
|
|
161
|
+
deltaBinaryPack(writer, lengths);
|
|
162
|
+
for (const value of values) writer.appendBytes(value);
|
|
163
|
+
}
|
|
164
|
+
function deltaByteArray(writer, values) {
|
|
165
|
+
if (values.length === 0) {
|
|
166
|
+
deltaBinaryPack(writer, []);
|
|
167
|
+
deltaBinaryPack(writer, []);
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
const prefixLengths = new Int32Array(values.length);
|
|
171
|
+
const suffixLengths = new Int32Array(values.length);
|
|
172
|
+
const value = values[0];
|
|
173
|
+
if (!(value instanceof Uint8Array)) throw new Error("deltaByteArray expects Uint8Array values");
|
|
174
|
+
prefixLengths[0] = 0;
|
|
175
|
+
suffixLengths[0] = value.length;
|
|
176
|
+
for (let i = 1; i < values.length; i++) {
|
|
177
|
+
const prev = values[i - 1];
|
|
178
|
+
const curr = values[i];
|
|
179
|
+
let prefixLen;
|
|
180
|
+
if (curr === prev) prefixLen = curr.length;
|
|
181
|
+
else {
|
|
182
|
+
if (!(curr instanceof Uint8Array)) throw new Error("deltaByteArray expects Uint8Array values");
|
|
183
|
+
prefixLen = 0;
|
|
184
|
+
const maxPrefix = Math.min(prev.length, curr.length);
|
|
185
|
+
while (prefixLen < maxPrefix && prev[prefixLen] === curr[prefixLen]) prefixLen++;
|
|
186
|
+
}
|
|
187
|
+
prefixLengths[i] = prefixLen;
|
|
188
|
+
suffixLengths[i] = curr.length - prefixLen;
|
|
189
|
+
}
|
|
190
|
+
deltaBinaryPack(writer, prefixLengths);
|
|
191
|
+
deltaBinaryPack(writer, suffixLengths);
|
|
192
|
+
for (let i = 0; i < values.length; i++) if (suffixLengths[i] > 0) writer.appendBytes(values[i].subarray(prefixLengths[i]));
|
|
193
|
+
}
|
|
194
|
+
function bitWidth(value) {
|
|
195
|
+
if (value === 0n) return 0;
|
|
196
|
+
let bits = 0;
|
|
197
|
+
while (value > 0n) {
|
|
198
|
+
bits++;
|
|
199
|
+
value >>= 1n;
|
|
200
|
+
}
|
|
201
|
+
return bits;
|
|
202
|
+
}
|
|
203
|
+
export { deltaBinaryPack, deltaByteArray, deltaLengthByteArray };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ByteWriter } from "./bytewriter.mjs";
|
|
2
2
|
import { writePlain } from "./plain.mjs";
|
|
3
3
|
import { writePageHeader } from "./datapage.mjs";
|
|
4
|
+
const textEncoder = new TextEncoder();
|
|
4
5
|
function estimateValueSize(value, type, type_length) {
|
|
5
6
|
if (value === null || value === void 0) return 0;
|
|
6
7
|
if (type === "BOOLEAN") return .125;
|
|
@@ -27,23 +28,62 @@ function bytesEqual(a, b) {
|
|
|
27
28
|
for (let i = 0; i < a.length; i++) if (a[i] !== b[i]) return false;
|
|
28
29
|
return true;
|
|
29
30
|
}
|
|
30
|
-
|
|
31
|
+
const sampleRejectionRatio = .9;
|
|
32
|
+
function useDictionary(values, type, type_length, encoding, dictionarySize, required) {
|
|
31
33
|
if (encoding && encoding !== "RLE_DICTIONARY") return {};
|
|
32
34
|
if (type === "BOOLEAN") return {};
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
const forced = encoding === "RLE_DICTIONARY";
|
|
36
|
+
const byteArrayPrefixSize = type === "BYTE_ARRAY" ? 4 : 0;
|
|
37
|
+
if (!forced) {
|
|
38
|
+
const sampleSize = Math.min(values.length, 1e3);
|
|
39
|
+
const sampleSizes = /* @__PURE__ */ new Map();
|
|
40
|
+
const sampleHashes = /* @__PURE__ */ new Map();
|
|
41
|
+
let sampleDictionarySize = 0;
|
|
42
|
+
let sampleTotalSize = 0;
|
|
43
|
+
for (let i = 0; i < sampleSize; i++) {
|
|
44
|
+
const value = values[sampleSize === 1 ? 0 : Math.floor(i * (values.length - 1) / (sampleSize - 1))];
|
|
45
|
+
let key = value;
|
|
46
|
+
if (value instanceof Uint8Array) {
|
|
47
|
+
key = sampleHashes.get(value);
|
|
48
|
+
if (key === void 0) {
|
|
49
|
+
key = hashBytes(value);
|
|
50
|
+
sampleHashes.set(value, key);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
let valueSize = sampleSizes.get(key);
|
|
54
|
+
if (valueSize === void 0) {
|
|
55
|
+
valueSize = estimateValueSize(value, type, type_length) + (value === null || value === void 0 ? 0 : byteArrayPrefixSize);
|
|
56
|
+
sampleSizes.set(key, valueSize);
|
|
57
|
+
sampleDictionarySize += valueSize;
|
|
58
|
+
}
|
|
59
|
+
sampleTotalSize += valueSize;
|
|
60
|
+
}
|
|
61
|
+
if (!sampleTotalSize || sampleDictionarySize / sampleTotalSize > sampleRejectionRatio) return {};
|
|
62
|
+
}
|
|
37
63
|
const dictionary = [];
|
|
38
64
|
const indexes = new Array(values.length);
|
|
39
65
|
const valueIndex = /* @__PURE__ */ new Map();
|
|
66
|
+
const valueSizes = [];
|
|
40
67
|
const hashBuckets = /* @__PURE__ */ new Map();
|
|
41
68
|
let dictSize = 0;
|
|
69
|
+
let physicalDictSize = 0;
|
|
70
|
+
let totalSize = 0;
|
|
71
|
+
let nonNullCount = 0;
|
|
42
72
|
for (let i = 0; i < values.length; i++) {
|
|
43
73
|
const value = values[i];
|
|
44
|
-
if (value === null || value === void 0)
|
|
74
|
+
if (value === null || value === void 0) {
|
|
75
|
+
if (required) throw new Error("parquet required value is undefined");
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
nonNullCount++;
|
|
45
79
|
let index;
|
|
46
80
|
if (value instanceof Uint8Array) {
|
|
81
|
+
totalSize += value.byteLength;
|
|
82
|
+
index = valueIndex.get(value);
|
|
83
|
+
if (index !== void 0) {
|
|
84
|
+
indexes[i] = index;
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
47
87
|
const hash = hashBytes(value);
|
|
48
88
|
const bucket = hashBuckets.get(hash);
|
|
49
89
|
if (bucket) {
|
|
@@ -54,24 +94,39 @@ function useDictionary(values, type, type_length, encoding, pageSize) {
|
|
|
54
94
|
}
|
|
55
95
|
if (index === void 0) {
|
|
56
96
|
dictSize += value.byteLength;
|
|
57
|
-
if (
|
|
97
|
+
if (!forced && dictionarySize) {
|
|
98
|
+
physicalDictSize += value.byteLength;
|
|
99
|
+
if (physicalDictSize > dictionarySize) return {};
|
|
100
|
+
}
|
|
58
101
|
index = dictionary.length;
|
|
59
102
|
dictionary.push(value);
|
|
60
103
|
if (bucket) bucket.push(index);
|
|
61
104
|
else hashBuckets.set(hash, [index]);
|
|
62
105
|
}
|
|
106
|
+
valueIndex.set(value, index);
|
|
63
107
|
} else {
|
|
64
108
|
index = valueIndex.get(value);
|
|
109
|
+
const valueSize = index === void 0 ? estimateValueSize(value, type, type_length) : valueSizes[index];
|
|
110
|
+
totalSize += valueSize;
|
|
65
111
|
if (index === void 0) {
|
|
66
|
-
dictSize +=
|
|
67
|
-
if (
|
|
112
|
+
dictSize += valueSize;
|
|
113
|
+
if (!forced && dictionarySize) {
|
|
114
|
+
physicalDictSize += typeof value === "string" ? textEncoder.encode(value).byteLength : valueSize;
|
|
115
|
+
if (physicalDictSize > dictionarySize) return {};
|
|
116
|
+
}
|
|
68
117
|
index = dictionary.length;
|
|
69
118
|
dictionary.push(value);
|
|
119
|
+
valueSizes[index] = valueSize;
|
|
70
120
|
valueIndex.set(value, index);
|
|
71
121
|
}
|
|
72
122
|
}
|
|
73
123
|
indexes[i] = index;
|
|
74
124
|
}
|
|
125
|
+
const bitWidth = Math.ceil(Math.log2(dictionary.length));
|
|
126
|
+
const indexSize = Math.ceil(nonNullCount * bitWidth / 8);
|
|
127
|
+
const plainSize = totalSize + nonNullCount * byteArrayPrefixSize;
|
|
128
|
+
const dictionaryValueSize = dictSize + dictionary.length * byteArrayPrefixSize;
|
|
129
|
+
if (!forced && 2 * (dictionaryValueSize + indexSize) > plainSize) return {};
|
|
75
130
|
return {
|
|
76
131
|
dictionary,
|
|
77
132
|
indexes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getMaxDefinitionLevel, isListLike, isMapLike } from "../../../../hyparquet@1.
|
|
1
|
+
import { getMaxDefinitionLevel, isListLike, isMapLike } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/schema.mjs";
|
|
2
2
|
function encodeNestedValues(treePath, rows) {
|
|
3
3
|
const schemaPath = treePath.map((n) => n.element);
|
|
4
4
|
if (treePath.length < 2) throw new Error("parquet schema path must include column");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { serializeTCompactProtocol } from "./thrift.mjs";
|
|
2
|
-
import { BoundaryOrders } from "../../../../hyparquet@1.
|
|
2
|
+
import { BoundaryOrders } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/constants.mjs";
|
|
3
3
|
function writeIndexes(writer, pageIndexes) {
|
|
4
4
|
for (const { chunk, columnIndex } of pageIndexes) writeColumnIndex(writer, chunk, columnIndex);
|
|
5
5
|
for (const { chunk, offsetIndex } of pageIndexes) writeOffsetIndex(writer, chunk, offsetIndex);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getSchemaPath } from "../../../../hyparquet@1.
|
|
2
|
-
import { serializeTCompactProtocol } from "./thrift.mjs";
|
|
3
|
-
import { CompressionCodecs, ConvertedTypes, EdgeInterpolationAlgorithms, Encodings, FieldRepetitionTypes, PageTypes, ParquetTypes } from "../../../../hyparquet@1.
|
|
1
|
+
import { getSchemaPath } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/schema.mjs";
|
|
2
|
+
import { ThriftStruct, serializeTCompactProtocol } from "./thrift.mjs";
|
|
3
|
+
import { CompressionCodecs, ConvertedTypes, EdgeInterpolationAlgorithms, Encodings, FieldRepetitionTypes, PageTypes, ParquetTypes } from "../../../../hyparquet@1.28.1/node_modules/hyparquet/src/constants.mjs";
|
|
4
4
|
import { unconvertStatistics } from "./unconvert.mjs";
|
|
5
5
|
function writeMetadata(writer, metadata) {
|
|
6
6
|
const compact = {
|
|
@@ -51,16 +51,7 @@ function writeMetadata(writer, metadata) {
|
|
|
51
51
|
field_3: c.meta_data.size_statistics.definition_level_histogram
|
|
52
52
|
},
|
|
53
53
|
field_17: c.meta_data.geospatial_statistics && {
|
|
54
|
-
field_1: c.meta_data.geospatial_statistics.bbox &&
|
|
55
|
-
field_1: c.meta_data.geospatial_statistics.bbox.xmin,
|
|
56
|
-
field_2: c.meta_data.geospatial_statistics.bbox.xmax,
|
|
57
|
-
field_3: c.meta_data.geospatial_statistics.bbox.ymin,
|
|
58
|
-
field_4: c.meta_data.geospatial_statistics.bbox.ymax,
|
|
59
|
-
field_5: c.meta_data.geospatial_statistics.bbox.zmin,
|
|
60
|
-
field_6: c.meta_data.geospatial_statistics.bbox.zmax,
|
|
61
|
-
field_7: c.meta_data.geospatial_statistics.bbox.mmin,
|
|
62
|
-
field_8: c.meta_data.geospatial_statistics.bbox.mmax
|
|
63
|
-
},
|
|
54
|
+
field_1: c.meta_data.geospatial_statistics.bbox && thriftBoundingBox(c.meta_data.geospatial_statistics.bbox),
|
|
64
55
|
field_2: c.meta_data.geospatial_statistics.geospatial_types
|
|
65
56
|
}
|
|
66
57
|
},
|
|
@@ -91,6 +82,50 @@ function writeMetadata(writer, metadata) {
|
|
|
91
82
|
const metadataLength = writer.offset - metadataStart;
|
|
92
83
|
writer.appendUint32(metadataLength);
|
|
93
84
|
}
|
|
85
|
+
function thriftBoundingBox(bbox) {
|
|
86
|
+
return new ThriftStruct([
|
|
87
|
+
[
|
|
88
|
+
1,
|
|
89
|
+
7,
|
|
90
|
+
bbox.xmin
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
2,
|
|
94
|
+
7,
|
|
95
|
+
bbox.xmax
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
3,
|
|
99
|
+
7,
|
|
100
|
+
bbox.ymin
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
4,
|
|
104
|
+
7,
|
|
105
|
+
bbox.ymax
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
5,
|
|
109
|
+
7,
|
|
110
|
+
bbox.zmin
|
|
111
|
+
],
|
|
112
|
+
[
|
|
113
|
+
6,
|
|
114
|
+
7,
|
|
115
|
+
bbox.zmax
|
|
116
|
+
],
|
|
117
|
+
[
|
|
118
|
+
7,
|
|
119
|
+
7,
|
|
120
|
+
bbox.mmin
|
|
121
|
+
],
|
|
122
|
+
[
|
|
123
|
+
8,
|
|
124
|
+
7,
|
|
125
|
+
bbox.mmax
|
|
126
|
+
]
|
|
127
|
+
]);
|
|
128
|
+
}
|
|
94
129
|
function schemaElement(schema, path) {
|
|
95
130
|
const tree = getSchemaPath(schema, path);
|
|
96
131
|
return tree[tree.length - 1].element;
|