@gscdump/engine 3.1.0 → 3.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/LICENSE +21 -0
- package/dist/THIRD-PARTY-LICENSES.md +2 -2
- package/dist/adapters/hyparquet.d.mts +2 -2
- package/dist/adapters/hyparquet.mjs +2 -2
- package/dist/iceberg/catalog.d.mts +2 -2
- package/dist/iceberg/catalog.mjs +2 -2
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/assemble.mjs +3 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/bloom.mjs +14 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/column.mjs +8 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/convert.mjs +3 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/datapage.mjs +6 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/delta.mjs +2 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/encoding.mjs +2 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/filter.mjs +4 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/index.mjs +8 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/indexes.mjs +5 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/metadata.mjs +7 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/node.mjs +2 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/plan.mjs +6 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/read.mjs +7 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/rowgroup.mjs +7 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/scan.mjs +6 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/types.d.mts +9 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/utils.mjs +2 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/src/variant.mjs +3 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/types/index.d.mts +10 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.1/node_modules/hyparquet/types/node.d.mts +3 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/index.mjs +1 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/plan.mjs +115 -87
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/src/query.mjs +3 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/src/read.mjs +78 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/src/scan.mjs +74 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/types.d.mts +1 -9
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/types/index.d.mts +7 -3
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/types/node.d.mts +3 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/types/scan.d.mts +1 -0
- package/dist/node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/types/utils.d.mts +1 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/avro/avro.read.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/fetch.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/index.mjs +1 -1
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/read.mjs +11 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/sql/icebergDataSource.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/sql/icebergQuery.mjs +1 -1
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/types.d.mts +2 -2
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/rewrite.mjs +3 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/create.d.mts +1 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/fetch.d.mts +2 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/types/index.d.mts +1 -1
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/manifest.d.mts +1 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/metadata.d.mts +1 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/read.d.mts +3 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/s3.d.mts +1 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/sql/icebergDataSource.d.mts +2 -0
- package/dist/node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/sql/icebergQuery.d.mts +2 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/ast.d.mts +1 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/backend/batchAdapters.mjs +3 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/aggregates.mjs +2 -1
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/execute/batchResults.mjs +3 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/execute/batches.mjs +4 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/execute.mjs +7 -1
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/execute/rowScope.mjs +2 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/execute/scanColumn.mjs +1 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/streamingAggregate.mjs +4 -1
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/execute/utils.mjs +2 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/alias.mjs +1 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/batch.mjs +10 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/binary.mjs +2 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/date.mjs +1 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/expression/evaluate.mjs +4 -3
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/math.mjs +1 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/expression/scalar.mjs +4 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/index.mjs +2 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/parse/extractTables.mjs +1 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/plan/columns.mjs +1 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/spatial/wkt.mjs +1 -0
- package/dist/node_modules/.pnpm/squirreling@0.16.2/node_modules/squirreling/src/validation/keywords.mjs +1 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/validation/tables.mjs +1 -0
- package/dist/storage.d.mts +2 -2
- package/dist/vendor/hysnappy-purejs.mjs +1 -1
- package/package.json +9 -9
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/src/read.mjs +0 -128
- package/dist/node_modules/.pnpm/hyparquet@1.28.2/node_modules/hyparquet/types/node.d.mts +0 -3
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/read.mjs +0 -9
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/read.d.mts +0 -2
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/sql/icebergDataSource.d.mts +0 -2
- package/dist/node_modules/.pnpm/icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/sql/icebergQuery.d.mts +0 -2
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/avro/avro.metadata.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/constants.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/catalog/file.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/geoparquet.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/puffin/roaring.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/plain.mjs} +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/src/query.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/sql/whereFilter.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/schema.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/src/write/geospatial.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/snappy.mjs} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/backend/dataSource.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/thrift.mjs} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/execute/scanColumn.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/wkb.mjs} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/execute/utils.mjs → hyparquet@1.29.1/node_modules/hyparquet/src/xxhash.mjs} +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/types/indexes.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/types/metadata.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/types/query.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/types/read.d.mts +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2/node_modules/hyparquet/types/utils.d.mts → hyparquet@1.29.1/node_modules/hyparquet/types/scan.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.1}/node_modules/hyparquet/types/snappy.d.mts +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/create.d.mts → hyparquet@1.29.1/node_modules/hyparquet/types/utils.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/assemble.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/bloom.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/column.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/constants.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/convert.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/datapage.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/delta.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/encoding.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/filter.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/geoparquet.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/indexes.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/metadata.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/node.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/plain.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/rowgroup.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/schema.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/snappy.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/thrift.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/utils.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/variant.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/wkb.mjs +0 -0
- package/dist/node_modules/.pnpm/{hyparquet@1.28.2 → hyparquet@1.29.2}/node_modules/hyparquet/src/xxhash.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/fetch.d.mts → hyparquet@1.29.2/node_modules/hyparquet/types/indexes.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird → hyparquet@1.29.2/node_modules/hyparquet}/types/metadata.d.mts +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/manifest.d.mts → hyparquet@1.29.2/node_modules/hyparquet/types/query.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6/node_modules/icebird/types/s3.d.mts → hyparquet@1.29.2/node_modules/hyparquet/types/read.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/ast.d.mts → hyparquet@1.29.2/node_modules/hyparquet/types/snappy.d.mts} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/expression/alias.mjs → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/avro/avro.metadata.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/avro/avro.write.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/expression/binary.mjs → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/catalog/file.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/catalog/loadTable.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/catalog/rest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/create.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/delete.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/json.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/manifest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/metadata.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/prune.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/puffin/deletion-vector.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/puffin/puffin.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/expression/date.mjs → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/puffin/roaring.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/s3.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/schema.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/sigv4.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/expression/math.mjs → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/sql/whereFilter.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/utils.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/commit.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/conversions.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/delete-file.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/parse/extractTables.mjs → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/write/geospatial.mjs} +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/manifest-list.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/manifest.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/parquet.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/partition.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/serde.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/snapshot.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/sort.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/stage-deletion-vector.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/stage-position-delete.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/stage.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/stats.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/transform.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/src/write/write.mjs +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/types/catalog/file.d.mts +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/types/catalog/rest.d.mts +0 -0
- package/dist/node_modules/.pnpm/{icebird@0.8.22_patch_hash_4fa7fd5702c4ce432fb2902c6abe07cc55565e87f6375b96ece63a10999712e6 → icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244}/node_modules/icebird/types/write/write.d.mts +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/spatial/wkt.mjs → squirreling@0.16.2/node_modules/squirreling/src/backend/batch.mjs} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3/node_modules/squirreling/src/validation/keywords.mjs → squirreling@0.16.2/node_modules/squirreling/src/backend/dataSource.mjs} +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/accumulator.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/join.mjs +1 -1
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/sort.mjs +0 -0
- package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/window.mjs +1 -1
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/execute/yield.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/expression/regexp.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/expression/strings.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/index.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/expression.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/functions.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/joins.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/parse.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/primary.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/state.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/tokenize.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/parse/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/plan/plan.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/plan/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/bbox.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/equality.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/operations.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/pointRelations.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/primitives.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/segments.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/spatial/spatial.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/types.d.mts +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/validation/aggregates.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/validation/executionErrors.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/validation/functions.mjs +0 -0
- /package/dist/node_modules/.pnpm/{squirreling@0.15.3 → squirreling@0.16.2}/node_modules/squirreling/src/validation/parseErrors.mjs +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Harlan Wilton
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -35,11 +35,11 @@ Repository: https://github.com/101arrowz/fzstd
|
|
|
35
35
|
|
|
36
36
|
---------------------------------------
|
|
37
37
|
|
|
38
|
-
## hyparquet, hyparquet, hyparquet-compressors, hyparquet-writer, icebird, squirreling
|
|
38
|
+
## hyparquet, hyparquet, hyparquet, hyparquet-compressors, hyparquet-writer, icebird, squirreling
|
|
39
39
|
|
|
40
40
|
License: MIT
|
|
41
41
|
By: Hyperparam
|
|
42
|
-
Repositories: https://github.com/hyparam/hyparquet, https://github.com/hyparam/hyparquet, https://github.com/hyparam/hyparquet-compressors, https://github.com/hyparam/hyparquet-writer, https://github.com/hyparam/icebird, https://github.com/hyparam/squirreling
|
|
42
|
+
Repositories: https://github.com/hyparam/hyparquet, https://github.com/hyparam/hyparquet, https://github.com/hyparam/hyparquet, https://github.com/hyparam/hyparquet-compressors, https://github.com/hyparam/hyparquet-writer, https://github.com/hyparam/icebird, https://github.com/hyparam/squirreling
|
|
43
43
|
|
|
44
44
|
> The MIT License (MIT)
|
|
45
45
|
>
|
|
@@ -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.29.2/node_modules/hyparquet/types/index.mjs";
|
|
2
|
+
import "../node_modules/.pnpm/hyparquet@1.29.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,7 +1,7 @@
|
|
|
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.
|
|
3
|
+
import { parquetReadObjects } from "../node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/src/read.mjs";
|
|
4
|
+
import "../node_modules/.pnpm/hyparquet@1.29.2/node_modules/hyparquet/src/node.mjs";
|
|
5
5
|
import { ByteWriter } from "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/bytewriter.mjs";
|
|
6
6
|
import { parquetWriteRows } from "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/write-rows.mjs";
|
|
7
7
|
import "../node_modules/.pnpm/hyparquet-writer@0.16.6_patch_hash_549d1fd1fb9614da77df9123bf6978a8fccfe1d9bb8882863ce6159f666e821a/node_modules/hyparquet-writer/src/node.mjs";
|
|
@@ -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.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/types/write/write.mjs";
|
|
4
|
+
import "../node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/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.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/node_modules/icebird/src/write/write.mjs";
|
|
6
|
+
import "../node_modules/.pnpm/icebird@0.8.26_patch_hash_75eacba5b0363ee2a40baa0ef77c7fb20d06389025186ca95b514a927cad0244/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";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File-like object that can read slices of a file asynchronously.
|
|
3
|
+
*/
|
|
4
|
+
interface AsyncBuffer {
|
|
5
|
+
byteLength: number;
|
|
6
|
+
slice(start: number, end?: number): Awaitable<ArrayBuffer>;
|
|
7
|
+
}
|
|
8
|
+
type Awaitable<T> = T | Promise<T>;
|
|
9
|
+
export { AsyncBuffer, Awaitable };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AsyncBuffer as AsyncBuffer$1 } from "../src/types.mjs";
|
|
2
|
+
import "./indexes.mjs";
|
|
3
|
+
import "./metadata.mjs";
|
|
4
|
+
import "./read.mjs";
|
|
5
|
+
import "./scan.mjs";
|
|
6
|
+
import "./query.mjs";
|
|
7
|
+
import "./snappy.mjs";
|
|
8
|
+
import "./utils.mjs";
|
|
9
|
+
type AsyncBuffer = AsyncBuffer$1;
|
|
10
|
+
export { AsyncBuffer };
|
|
@@ -4,123 +4,151 @@ import { readColumnIndex, readOffsetIndex } from "./indexes.mjs";
|
|
|
4
4
|
import { bloomEligibleColumns, readBloomFilter } from "./bloom.mjs";
|
|
5
5
|
import { canSkipRowGroup, filterPageRanges, pathsNeededForFilter } from "./filter.mjs";
|
|
6
6
|
const runLimit = 1 << 21;
|
|
7
|
-
function parquetPlan(
|
|
7
|
+
function parquetPlan(options) {
|
|
8
|
+
const { metadata, rowStart = 0, columns, useOffsetIndex = false } = options;
|
|
8
9
|
if (!metadata) throw new Error("parquetPlan requires metadata");
|
|
9
10
|
const groups = [];
|
|
10
11
|
const fetches = [];
|
|
11
12
|
const indexes = [];
|
|
13
|
+
const scanPlan = parquetPlanGroups(options);
|
|
14
|
+
for (const group of scanPlan.groups) {
|
|
15
|
+
const groupPlan = parquetPlanGroup({
|
|
16
|
+
...group,
|
|
17
|
+
columns,
|
|
18
|
+
useOffsetIndex
|
|
19
|
+
});
|
|
20
|
+
groups.push(...groupPlan.groups);
|
|
21
|
+
fetches.push(...groupPlan.fetches);
|
|
22
|
+
indexes.push(...groupPlan.indexes);
|
|
23
|
+
}
|
|
24
|
+
fetches.push(...indexes);
|
|
25
|
+
return {
|
|
26
|
+
metadata,
|
|
27
|
+
rowStart,
|
|
28
|
+
rowEnd: scanPlan.rowEnd,
|
|
29
|
+
columns,
|
|
30
|
+
fetches,
|
|
31
|
+
groups
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function parquetPlanGroups({ metadata, rowStart = 0, rowEnd = Infinity, columns, filter, filterStrict = true, bloomFiltersByGroup, schemaElements, pageRangesByGroup, pageLocationsByGroup }) {
|
|
35
|
+
if (!metadata) throw new Error("parquetPlan requires metadata");
|
|
12
36
|
const schemaTree = parquetSchema(metadata);
|
|
13
37
|
const physicalColumns = getPhysicalColumns(schemaTree);
|
|
14
38
|
const elementsByPath = filter ? {
|
|
15
39
|
...physicalSchemaElements(schemaTree),
|
|
16
40
|
...schemaElements
|
|
17
41
|
} : schemaElements;
|
|
42
|
+
const groups = [];
|
|
18
43
|
let groupStart = 0;
|
|
19
|
-
let
|
|
20
|
-
|
|
44
|
+
for (let groupIndex = 0; groupIndex < metadata.row_groups.length; groupIndex++) {
|
|
45
|
+
const rowGroup = metadata.row_groups[groupIndex];
|
|
21
46
|
const groupRows = Number(rowGroup.num_rows);
|
|
22
47
|
const groupEnd = groupStart + groupRows;
|
|
23
|
-
const bloomFilters = bloomFiltersByGroup?.[rgIdx];
|
|
24
48
|
if (groupRows > 0 && groupEnd > rowStart && groupStart < rowEnd && !canSkipRowGroup({
|
|
25
49
|
rowGroup,
|
|
26
50
|
physicalColumns,
|
|
27
51
|
filter,
|
|
28
52
|
strict: filterStrict,
|
|
29
|
-
bloomFilters,
|
|
53
|
+
bloomFilters: bloomFiltersByGroup?.[groupIndex],
|
|
30
54
|
schemaElements: elementsByPath
|
|
31
55
|
})) {
|
|
32
56
|
const selectStart = Math.max(rowStart - groupStart, 0);
|
|
33
57
|
const selectEnd = Math.min(rowEnd - groupStart, groupRows);
|
|
34
|
-
const pageRanges = pageRangesByGroup?.[
|
|
35
|
-
const pageLocations = pageLocationsByGroup?.[
|
|
36
|
-
let
|
|
58
|
+
const pageRanges = pageRangesByGroup?.[groupIndex];
|
|
59
|
+
const pageLocations = pageLocationsByGroup?.[groupIndex];
|
|
60
|
+
let ranges = pageRanges ? pageRanges.map(([start, end]) => {
|
|
37
61
|
return [Math.max(start, selectStart), Math.min(end, selectEnd)];
|
|
38
62
|
}).filter(([start, end]) => start < end) : [[selectStart, selectEnd]];
|
|
39
|
-
if (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
63
|
+
if (ranges.length > 1) ranges = rowGroup.columns.every((chunk) => {
|
|
64
|
+
const columnName = chunk.meta_data?.path_in_schema[0];
|
|
65
|
+
const columnPath = chunk.meta_data?.path_in_schema.join(".");
|
|
66
|
+
if (columns && columnName && !columns.includes(columnName)) return true;
|
|
67
|
+
return !!(chunk.offset_index_offset && chunk.offset_index_length) || !!(columnPath && pageLocations?.[columnPath]);
|
|
68
|
+
}) ? coalesceOverlappingPageRanges(ranges, rowGroup, columns, pageLocations) : [[ranges[0][0], ranges[ranges.length - 1][1]]];
|
|
69
|
+
if (ranges.length) groups.push({
|
|
70
|
+
rowGroup,
|
|
71
|
+
groupIndex,
|
|
72
|
+
groupStart,
|
|
73
|
+
groupRows,
|
|
74
|
+
ranges,
|
|
75
|
+
pageRanges,
|
|
76
|
+
pageLocations
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
groupStart = groupEnd;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
groups,
|
|
83
|
+
rowEnd: isFinite(rowEnd) ? rowEnd : groupStart
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function parquetPlanGroup({ rowGroup, groupStart, groupRows, ranges, columns, useOffsetIndex = false, pageRanges, pageLocations }) {
|
|
87
|
+
const chunks = [];
|
|
88
|
+
const fetches = [];
|
|
89
|
+
const indexes = [];
|
|
90
|
+
const narrowed = ranges.length > 1 || ranges[0][0] > 0 || ranges[0][1] < groupRows;
|
|
91
|
+
for (const chunk of rowGroup.columns) {
|
|
92
|
+
const meta = chunk.meta_data;
|
|
93
|
+
if (chunk.file_path) throw new Error("parquet file_path not supported");
|
|
94
|
+
if (!meta) throw new Error("parquet column metadata is undefined");
|
|
95
|
+
if (columns && !columns.includes(meta.path_in_schema[0])) continue;
|
|
96
|
+
const columnOffset = meta.dictionary_page_offset || meta.data_page_offset;
|
|
97
|
+
const startByte = Number(columnOffset);
|
|
98
|
+
const endByte = Number(columnOffset + meta.total_compressed_size);
|
|
99
|
+
const chunkPageLocations = pageLocations?.[meta.path_in_schema.join(".")];
|
|
100
|
+
if (chunkPageLocations && narrowed) chunks.push({
|
|
101
|
+
columnMetadata: meta,
|
|
102
|
+
pageLocations: chunkPageLocations,
|
|
103
|
+
range: {
|
|
104
|
+
startByte,
|
|
105
|
+
endByte
|
|
47
106
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (chunkPageLocations && narrowed) chunks.push({
|
|
61
|
-
columnMetadata: meta,
|
|
62
|
-
pageLocations: chunkPageLocations,
|
|
63
|
-
range: {
|
|
64
|
-
startByte,
|
|
65
|
-
endByte
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
else if ((useOffsetIndex || pageRanges) && chunk.offset_index_offset && chunk.offset_index_length && narrowed) {
|
|
69
|
-
const offsetIndexStart = Number(chunk.offset_index_offset);
|
|
70
|
-
chunks.push({
|
|
71
|
-
columnMetadata: meta,
|
|
72
|
-
offsetIndex: {
|
|
73
|
-
startByte: offsetIndexStart,
|
|
74
|
-
endByte: offsetIndexStart + chunk.offset_index_length
|
|
75
|
-
},
|
|
76
|
-
range: {
|
|
77
|
-
startByte,
|
|
78
|
-
endByte
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
} else chunks.push({
|
|
82
|
-
columnMetadata: meta,
|
|
83
|
-
range: {
|
|
84
|
-
startByte,
|
|
85
|
-
endByte
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
for (const [subStart, subEnd] of subranges) groups.push({
|
|
91
|
-
chunks,
|
|
92
|
-
rowGroup,
|
|
93
|
-
groupStart,
|
|
94
|
-
groupRows,
|
|
95
|
-
selectStart: subStart,
|
|
96
|
-
selectEnd: subEnd
|
|
97
|
-
});
|
|
98
|
-
let run;
|
|
99
|
-
for (const chunk of chunks) if ("pageLocations" in chunk) {} else if ("offsetIndex" in chunk) indexes.push(chunk.offsetIndex);
|
|
100
|
-
else {
|
|
101
|
-
const { range } = chunk;
|
|
102
|
-
if (columns) fetches.push(range);
|
|
103
|
-
else if (run && range.endByte - run.startByte <= runLimit) run.endByte = range.endByte;
|
|
104
|
-
else {
|
|
105
|
-
if (run) fetches.push(run);
|
|
106
|
-
run = { ...range };
|
|
107
|
-
}
|
|
107
|
+
});
|
|
108
|
+
else if ((useOffsetIndex || pageRanges) && chunk.offset_index_offset && chunk.offset_index_length && narrowed) {
|
|
109
|
+
const startByte = Number(chunk.offset_index_offset);
|
|
110
|
+
chunks.push({
|
|
111
|
+
columnMetadata: meta,
|
|
112
|
+
offsetIndex: {
|
|
113
|
+
startByte,
|
|
114
|
+
endByte: startByte + chunk.offset_index_length
|
|
115
|
+
},
|
|
116
|
+
range: {
|
|
117
|
+
startByte: Number(columnOffset),
|
|
118
|
+
endByte
|
|
108
119
|
}
|
|
109
|
-
|
|
120
|
+
});
|
|
121
|
+
} else chunks.push({
|
|
122
|
+
columnMetadata: meta,
|
|
123
|
+
range: {
|
|
124
|
+
startByte,
|
|
125
|
+
endByte
|
|
110
126
|
}
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
let run;
|
|
130
|
+
for (const chunk of chunks) {
|
|
131
|
+
if ("pageLocations" in chunk) continue;
|
|
132
|
+
if ("offsetIndex" in chunk) indexes.push(chunk.offsetIndex);
|
|
133
|
+
else if (columns) fetches.push(chunk.range);
|
|
134
|
+
else if (run && chunk.range.endByte - run.startByte <= runLimit) run.endByte = chunk.range.endByte;
|
|
135
|
+
else {
|
|
136
|
+
if (run) fetches.push(run);
|
|
137
|
+
run = { ...chunk.range };
|
|
111
138
|
}
|
|
112
|
-
groupStart = groupEnd;
|
|
113
|
-
rgIdx++;
|
|
114
139
|
}
|
|
115
|
-
if (
|
|
116
|
-
fetches.push(...indexes);
|
|
140
|
+
if (run) fetches.push(run);
|
|
117
141
|
return {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
142
|
+
groups: ranges.map(([selectStart, selectEnd]) => ({
|
|
143
|
+
chunks,
|
|
144
|
+
rowGroup,
|
|
145
|
+
groupStart,
|
|
146
|
+
groupRows,
|
|
147
|
+
selectStart,
|
|
148
|
+
selectEnd
|
|
149
|
+
})),
|
|
122
150
|
fetches,
|
|
123
|
-
|
|
151
|
+
indexes
|
|
124
152
|
};
|
|
125
153
|
}
|
|
126
154
|
function coalesceOverlappingPageRanges(ranges, rowGroup, columns, pageLocations) {
|
|
@@ -344,4 +372,4 @@ function prefetchAsyncBuffer(file, { fetches }) {
|
|
|
344
372
|
}
|
|
345
373
|
};
|
|
346
374
|
}
|
|
347
|
-
export { parquetPlan, prefetchAsyncBuffer, prefetchBloomFilters, prefetchPageIndexes };
|
|
375
|
+
export { parquetPlan, parquetPlanGroup, parquetPlanGroups, prefetchAsyncBuffer, prefetchBloomFilters, prefetchPageIndexes };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { parquetMetadataAsync, parquetSchema } from "./metadata.mjs";
|
|
2
|
+
import { concat } from "./utils.mjs";
|
|
3
|
+
import { columnsNeededForFilter, matchFilter } from "./filter.mjs";
|
|
4
|
+
import "./plan.mjs";
|
|
5
|
+
import { assembleAsync, asyncGroupToRows } from "./rowgroup.mjs";
|
|
6
|
+
import { prepareParquetRead, readParquetPlan } from "./scan.mjs";
|
|
7
|
+
async function parquetRead(options) {
|
|
8
|
+
options.metadata ??= await parquetMetadataAsync(options.file, options);
|
|
9
|
+
const { rowStart = 0, rowEnd, columns, onChunk, onComplete, rowFormat, filter, filterStrict = true } = options;
|
|
10
|
+
if (filter && rowFormat !== "object") throw new Error("parquet filter requires rowFormat: \"object\"");
|
|
11
|
+
const filterColumns = columnsNeededForFilter(filter);
|
|
12
|
+
let readColumns = columns;
|
|
13
|
+
if (columns && filterColumns.length) {
|
|
14
|
+
const selectedColumns = new Set(columns);
|
|
15
|
+
const extraColumns = filterColumns.filter((column) => !selectedColumns.has(column));
|
|
16
|
+
if (extraColumns.length) readColumns = [...columns, ...extraColumns];
|
|
17
|
+
}
|
|
18
|
+
const readOptions = readColumns === columns ? options : {
|
|
19
|
+
...options,
|
|
20
|
+
columns: readColumns
|
|
21
|
+
};
|
|
22
|
+
const prepared = await prepareParquetRead(readOptions);
|
|
23
|
+
const preparedOptions = prepared.options;
|
|
24
|
+
const requiresProjection = readColumns !== columns;
|
|
25
|
+
const asyncGroups = readParquetPlan(preparedOptions, prepared.plan);
|
|
26
|
+
if (!onComplete && !onChunk) {
|
|
27
|
+
await awaitAllColumns(asyncGroups);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (!preparedOptions.metadata) throw new Error("parquet requires metadata");
|
|
31
|
+
const schemaTree = parquetSchema(preparedOptions.metadata);
|
|
32
|
+
const assembled = asyncGroups.map((arg) => assembleAsync(arg, schemaTree, options.parsers));
|
|
33
|
+
if (onChunk) for (const asyncGroup of assembled) for (const asyncColumn of asyncGroup.asyncColumns) asyncColumn.data.then(({ data, skipped }) => {
|
|
34
|
+
let rowStart = asyncGroup.groupStart + skipped;
|
|
35
|
+
for (const columnData of data) {
|
|
36
|
+
onChunk({
|
|
37
|
+
columnName: asyncColumn.pathInSchema[0],
|
|
38
|
+
columnData,
|
|
39
|
+
rowStart,
|
|
40
|
+
rowEnd: rowStart + columnData.length
|
|
41
|
+
});
|
|
42
|
+
rowStart += columnData.length;
|
|
43
|
+
}
|
|
44
|
+
}, () => {});
|
|
45
|
+
if (onComplete) {
|
|
46
|
+
await awaitAllColumns(assembled);
|
|
47
|
+
const rows = [];
|
|
48
|
+
for (const asyncGroup of assembled) {
|
|
49
|
+
const selectStart = asyncGroup.selectStart ?? Math.max(rowStart - asyncGroup.groupStart, 0);
|
|
50
|
+
const selectEnd = asyncGroup.selectEnd ?? Math.min((rowEnd ?? Infinity) - asyncGroup.groupStart, asyncGroup.groupRows);
|
|
51
|
+
const groupData = rowFormat === "object" ? await asyncGroupToRows(asyncGroup, selectStart, selectEnd, readColumns, "object") : await asyncGroupToRows(asyncGroup, selectStart, selectEnd, columns, "array");
|
|
52
|
+
if (filter) {
|
|
53
|
+
for (const row of groupData) if (matchFilter(row, filter, filterStrict)) {
|
|
54
|
+
if (requiresProjection && columns) {
|
|
55
|
+
for (const col of filterColumns) if (!columns.includes(col)) delete row[col];
|
|
56
|
+
}
|
|
57
|
+
rows.push(row);
|
|
58
|
+
}
|
|
59
|
+
} else concat(rows, groupData);
|
|
60
|
+
}
|
|
61
|
+
onComplete(rows);
|
|
62
|
+
} else await awaitAllColumns(assembled);
|
|
63
|
+
}
|
|
64
|
+
async function awaitAllColumns(asyncGroups) {
|
|
65
|
+
const all = asyncGroups.flatMap((g) => g.asyncColumns.map((c) => c.data));
|
|
66
|
+
const failed = (await Promise.allSettled(all)).find((r) => r.status === "rejected");
|
|
67
|
+
if (failed) throw failed.reason;
|
|
68
|
+
}
|
|
69
|
+
function parquetReadObjects(options) {
|
|
70
|
+
return new Promise((onComplete, reject) => {
|
|
71
|
+
parquetRead({
|
|
72
|
+
...options,
|
|
73
|
+
rowFormat: "object",
|
|
74
|
+
onComplete
|
|
75
|
+
}).catch(reject);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export { parquetRead, parquetReadObjects };
|