@gscdump/engine 7.6.0 → 7.8.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.
Files changed (77) hide show
  1. package/dist/iceberg/catalog.d.mts +5 -3
  2. package/dist/iceberg/catalog.mjs +4 -3
  3. package/dist/node_modules/.pnpm/hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5/node_modules/hyparquet-compressors/src/gzip.mjs +196 -0
  4. package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/avro/avro.metadata.mjs +1 -0
  5. package/dist/node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/avro/avro.read.mjs +6 -0
  6. package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/fetch.mjs +1 -1
  7. package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/manifest.mjs +1 -0
  8. package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/read.mjs +1 -1
  9. package/dist/node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/write/geospatial.mjs +1 -0
  10. package/package.json +4 -4
  11. package/dist/node_modules/.pnpm/hyparquet-compressors@1.1.2/node_modules/hyparquet-compressors/src/gzip.mjs +0 -173
  12. package/dist/node_modules/.pnpm/icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/avro/avro.read.mjs +0 -5
  13. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.bitreader.mjs +0 -0
  14. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.blocks.mjs +0 -0
  15. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.context.mjs +0 -0
  16. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.contextmap.mjs +0 -0
  17. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.dictionary.mjs +0 -0
  18. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.huffman.mjs +0 -0
  19. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.mjs +0 -0
  20. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.prefix.mjs +0 -0
  21. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.streams.mjs +0 -0
  22. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/brotli.transform.mjs +0 -0
  23. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/compressors.mjs +0 -0
  24. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/gzip.huffman.mjs +0 -0
  25. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/index.mjs +0 -0
  26. /package/dist/node_modules/.pnpm/{hyparquet-compressors@1.1.2 → hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5}/node_modules/hyparquet-compressors/src/lz4.mjs +0 -0
  27. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/catalog/file.mjs → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/avro/avro.budget.mjs} +0 -0
  28. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/avro/avro.write.mjs +0 -0
  29. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/puffin/roaring.mjs → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/catalog/file.mjs} +0 -0
  30. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/catalog/loadTable.mjs +0 -0
  31. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/catalog/rest.mjs +0 -0
  32. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/create.mjs +0 -0
  33. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/delete.mjs +0 -0
  34. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/index.mjs +0 -0
  35. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/json.mjs +0 -0
  36. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/metadata.mjs +0 -0
  37. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/prune.mjs +0 -0
  38. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/puffin/deletion-vector.mjs +0 -0
  39. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/puffin/puffin.mjs +0 -0
  40. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/sql/whereFilter.mjs → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/puffin/roaring.mjs} +0 -0
  41. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/s3.mjs +0 -0
  42. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/schema.mjs +0 -0
  43. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/sigv4.mjs +0 -0
  44. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/sql/icebergDataSource.mjs +0 -0
  45. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/sql/icebergQuery.mjs +0 -0
  46. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/write/geospatial.mjs → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/sql/whereFilter.mjs} +0 -0
  47. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/types.d.mts +0 -0
  48. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/utils.mjs +0 -0
  49. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/commit.mjs +0 -0
  50. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/conversions.mjs +0 -0
  51. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/delete-file.mjs +0 -0
  52. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/manifest-list.mjs +0 -0
  53. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/manifest.mjs +0 -0
  54. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/parquet.mjs +0 -0
  55. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/partition.mjs +0 -0
  56. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/rewrite.mjs +0 -0
  57. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/serde.mjs +0 -0
  58. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/snapshot.mjs +0 -0
  59. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/sort.mjs +0 -0
  60. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/stage-deletion-vector.mjs +0 -0
  61. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/stage-position-delete.mjs +0 -0
  62. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/stage.mjs +0 -0
  63. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/stats.mjs +0 -0
  64. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/transform.mjs +0 -0
  65. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/src/write/write.mjs +0 -0
  66. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/catalog/file.d.mts +0 -0
  67. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/catalog/rest.d.mts +0 -0
  68. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/create.d.mts +0 -0
  69. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/fetch.d.mts +0 -0
  70. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/index.d.mts +0 -0
  71. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/manifest.d.mts +0 -0
  72. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/metadata.d.mts +0 -0
  73. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/read.d.mts +0 -0
  74. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/s3.d.mts +0 -0
  75. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/sql/icebergDataSource.d.mts +0 -0
  76. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/sql/icebergQuery.d.mts +0 -0
  77. /package/dist/node_modules/.pnpm/{icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f → icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471}/node_modules/icebird/types/write/write.d.mts +0 -0
@@ -1,9 +1,9 @@
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.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/types/write/write.mjs";
4
- import "../node_modules/.pnpm/icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/types/index.mjs";
3
+ import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/types/write/write.mjs";
4
+ import "../node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/types/index.mjs";
5
5
  import { Result } from "gscdump/result";
6
- import { CommitRetryOptions, ConnectIcebergOptions, IcebergCatalogConfig, IcebergConnection, IcebergListedDataFile, QueryProfiler } from "@gscdump/lakehouse";
6
+ import { CommitRetryOptions, ConnectIcebergOptions, IcebergCatalogConfig, IcebergConnection, IcebergListedDataFile, ManifestReadLimits, QueryProfiler } from "@gscdump/lakehouse";
7
7
  type IcebirdCreateTableOptions = Parameters<typeof icebergCreateTable>[0];
8
8
  type IcebirdSchema = NonNullable<IcebirdCreateTableOptions['schema']>;
9
9
  type IcebirdPartitionSpec = NonNullable<IcebirdCreateTableOptions['partitionSpec']>;
@@ -62,6 +62,8 @@ export interface ListIcebergDataFilesOptions {
62
62
  cache?: import('@gscdump/lakehouse').CatalogCache;
63
63
  clock?: () => number;
64
64
  profiler?: QueryProfiler;
65
+ /** Uncached Avro read limits; catalog metadata/snapshot caching is unchanged. */
66
+ readLimits?: ManifestReadLimits;
65
67
  }
66
68
  /**
67
69
  * List the parquet data files in the current snapshot of `table`, filtered to
@@ -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.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/write/write.mjs";
6
- import "../node_modules/.pnpm/icebird@0.8.30_patch_hash_a400e343a199b1ca18601f96348011745ac6518fc07ffa71d5adfdd2ccc7d14f/node_modules/icebird/src/index.mjs";
5
+ import { icebergCreateTable } from "../node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/node_modules/icebird/src/write/write.mjs";
6
+ import "../node_modules/.pnpm/icebird@0.8.30_patch_hash_1359a91da68522a736babe444880ae391f19455fbe47c346f76cec92c5c2e471/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";
@@ -103,7 +103,8 @@ async function listIcebergDataFiles(conn, opts) {
103
103
  range: opts.range,
104
104
  cache: opts.cache,
105
105
  clock: opts.clock,
106
- profiler: opts.profiler
106
+ profiler: opts.profiler,
107
+ readLimits: opts.readLimits
107
108
  });
108
109
  }
109
110
  export { connectIcebergCatalog, createIcebergTables, dropIcebergTables$1 as dropIcebergTables, icebergAppendRetrying, icebergPartitionSpecFor, icebergSchemaFor, icebergSortOrderFor, listIcebergDataFiles };
@@ -0,0 +1,196 @@
1
+ import { fixedDistance, fixedDistanceExtraBits, fixedDistanceMap, fixedLength, fixedLengthExtraBits, fixedLengthMap, huffMap } from "./gzip.huffman.mjs";
2
+ const codeLengthIndexMap = new Uint8Array([
3
+ 16,
4
+ 17,
5
+ 18,
6
+ 0,
7
+ 8,
8
+ 7,
9
+ 9,
10
+ 6,
11
+ 10,
12
+ 5,
13
+ 11,
14
+ 4,
15
+ 12,
16
+ 3,
17
+ 13,
18
+ 2,
19
+ 14,
20
+ 1,
21
+ 15
22
+ ]);
23
+ function bits(input, pos, mask) {
24
+ const o = pos / 8 | 0;
25
+ return (input[o] | input[o + 1] << 8) >> (pos & 7) & mask;
26
+ }
27
+ function bits16(d, p) {
28
+ const o = p / 8 | 0;
29
+ return (d[o] | d[o + 1] << 8 | d[o + 2] << 16) >> (p & 7);
30
+ }
31
+ function shft(p) {
32
+ return (p + 7) / 8 | 0;
33
+ }
34
+ function gzipStart(input, i) {
35
+ if (input[i++] !== 31 || input[i++] !== 139 || input[i++] !== 8) return 0;
36
+ const flag = input[i++];
37
+ if (flag & 224) throw new Error("invalid gzip header flags");
38
+ i += 6;
39
+ if (flag & 4) i += (input[i] | input[i + 1] << 8) + 2;
40
+ for (let zs = (flag >> 3 & 1) + (flag >> 4 & 1); zs > 0; zs -= Number(!input[i++]));
41
+ return i + (flag & 2);
42
+ }
43
+ function gunzip(input, output, inputIndex = 0, outputIndex = 0, limits) {
44
+ const maximum = limits?.maxOutputBytes;
45
+ if (limits && (limits.raw !== true || !Number.isSafeInteger(maximum) || maximum < 0 || output || inputIndex !== 0 || outputIndex !== 0)) throw new RangeError("Invalid bounded raw DEFLATE options");
46
+ let out = output ?? new Uint8Array(limits ? Math.min(1024, maximum) : 1024);
47
+ if (limits && !input.length) throw new Error("unexpected EOF");
48
+ if (!(input.length - inputIndex)) return out;
49
+ const totalBits = input.length * 8;
50
+ function ensureSize(length) {
51
+ if (limits && (!Number.isSafeInteger(length) || length > maximum)) throw new RangeError("DEFLATE output byte limit exceeded");
52
+ if (!output && length > out.length) {
53
+ const old = out;
54
+ out = new Uint8Array(limits ? Math.min(maximum, Math.max(old.length * 2, length)) : Math.max(old.length * 2, length));
55
+ out.set(old);
56
+ }
57
+ }
58
+ let memberStart = inputIndex;
59
+ for (;;) {
60
+ const payloadStart = limits ? 0 : gzipStart(input, memberStart);
61
+ const isGzip = !limits && payloadStart > 0;
62
+ if (isGzip && payloadStart === input.length - 8) break;
63
+ if (isGzip && payloadStart > input.length - 8) throw new Error("unexpected EOF");
64
+ const pos = inflate(payloadStart * 8);
65
+ if (limits && Math.ceil(pos / 8) !== input.length) throw new Error("trailing raw DEFLATE bytes");
66
+ if (!isGzip || output && outputIndex >= out.length) break;
67
+ const nextBlock = Math.ceil(pos / 8) + 8;
68
+ if (nextBlock > input.length) throw new Error("unexpected EOF");
69
+ if (nextBlock === input.length) break;
70
+ if (input[nextBlock] !== 31 || input[nextBlock + 1] !== 139 || input[nextBlock + 2] !== 8) throw new Error("invalid gzip member");
71
+ memberStart = nextBlock;
72
+ }
73
+ function inflate(pos) {
74
+ let final = 0;
75
+ let lengthBits = 0;
76
+ let distBits = 0;
77
+ let lengthMap;
78
+ let distMap;
79
+ do {
80
+ if (!lengthMap) {
81
+ final = bits(input, pos, 1);
82
+ const type = bits(input, pos + 1, 3);
83
+ pos += 3;
84
+ if (!type) {
85
+ const s = shft(pos) + 4;
86
+ const l = input[s - 4] | input[s - 3] << 8;
87
+ if (limits && (s > input.length || ((input[s - 2] | input[s - 1] << 8) ^ l) !== 65535)) throw new Error("invalid stored block length");
88
+ const t = s + l;
89
+ if (t > input.length) throw new Error("unexpected EOF");
90
+ ensureSize(outputIndex + l);
91
+ out.set(input.subarray(s, t), outputIndex);
92
+ outputIndex += l;
93
+ pos = t * 8;
94
+ continue;
95
+ } else if (type === 1) {
96
+ lengthMap = fixedLengthMap;
97
+ distMap = fixedDistanceMap;
98
+ lengthBits = 9;
99
+ distBits = 5;
100
+ } else if (type === 2) {
101
+ const hLiteral = bits(input, pos, 31) + 257;
102
+ const hcLengths = bits(input, pos + 10, 15) + 4;
103
+ const tl = hLiteral + bits(input, pos + 5, 31) + 1;
104
+ pos += 14;
105
+ const lengthDistanceTree = new Uint8Array(tl);
106
+ const codeLengthTree = /* @__PURE__ */ new Uint8Array(19);
107
+ for (let i = 0; i < hcLengths; ++i) codeLengthTree[codeLengthIndexMap[i]] = bits(input, pos + i * 3, 7);
108
+ pos += hcLengths * 3;
109
+ const codeLengthBits = Math.max(...codeLengthTree);
110
+ const clbMask = (1 << codeLengthBits) - 1;
111
+ const codeLengthMap = huffMap(codeLengthTree, codeLengthBits, 1);
112
+ for (let i = 0; i < tl;) {
113
+ const r = codeLengthMap[bits(input, pos, clbMask)];
114
+ if (limits && !r) throw new Error("invalid code length");
115
+ pos += r & 15;
116
+ const symbol = r >> 4;
117
+ if (symbol < 16) lengthDistanceTree[i++] = symbol;
118
+ else {
119
+ let copy = 0;
120
+ let n = 0;
121
+ if (symbol === 16) {
122
+ if (limits && i === 0) throw new Error("invalid code length repeat");
123
+ n = 3 + bits(input, pos, 3);
124
+ pos += 2;
125
+ copy = lengthDistanceTree[i - 1];
126
+ } else if (symbol === 17) {
127
+ n = 3 + bits(input, pos, 7);
128
+ pos += 3;
129
+ } else if (symbol === 18) {
130
+ n = 11 + bits(input, pos, 127);
131
+ pos += 7;
132
+ }
133
+ if (limits && i + n > tl) throw new Error("invalid code length repeat");
134
+ while (n--) lengthDistanceTree[i++] = copy;
135
+ }
136
+ }
137
+ const lengthTree = lengthDistanceTree.subarray(0, hLiteral);
138
+ const distanceTree = lengthDistanceTree.subarray(hLiteral);
139
+ lengthBits = Math.max(...lengthTree);
140
+ distBits = Math.max(...distanceTree);
141
+ lengthMap = huffMap(lengthTree, lengthBits, 1);
142
+ distMap = huffMap(distanceTree, distBits, 1);
143
+ } else throw new Error("invalid block type");
144
+ if (pos > totalBits) throw new Error("unexpected EOF");
145
+ }
146
+ ensureSize(limits ? Math.min(maximum, outputIndex + 131072) : outputIndex + 131072);
147
+ const lms = (1 << lengthBits) - 1;
148
+ const dms = (1 << distBits) - 1;
149
+ for (;;) {
150
+ const code = lengthMap[bits16(input, pos) & lms];
151
+ const sym = code >> 4;
152
+ pos += code & 15;
153
+ if (pos > totalBits) throw new Error("unexpected EOF");
154
+ if (!code) throw new Error("invalid length/literal");
155
+ if (sym < 256) {
156
+ if (limits) ensureSize(outputIndex + 1);
157
+ out[outputIndex++] = sym;
158
+ } else if (sym === 256) {
159
+ lengthMap = void 0;
160
+ break;
161
+ } else {
162
+ let add = sym - 254;
163
+ if (sym > 264) {
164
+ const index = sym - 257;
165
+ const b = fixedLengthExtraBits[index];
166
+ add = bits(input, pos, (1 << b) - 1) + fixedLength[index];
167
+ pos += b;
168
+ }
169
+ if (!distMap) throw new Error("invalid distance map");
170
+ const d = distMap[bits16(input, pos) & dms];
171
+ const dsym = d >> 4;
172
+ if (!d) throw new Error("invalid distance");
173
+ if (limits && dsym > 29) throw new Error("invalid distance symbol");
174
+ pos += d & 15;
175
+ let dt = fixedDistance[dsym];
176
+ if (dsym > 3) {
177
+ const b = fixedDistanceExtraBits[dsym];
178
+ dt += bits16(input, pos) & (1 << b) - 1;
179
+ pos += b;
180
+ }
181
+ if (pos > totalBits) throw new Error("unexpected EOF");
182
+ const end = outputIndex + add;
183
+ if (outputIndex < dt) throw new Error("unexpected dictionary case");
184
+ ensureSize(end);
185
+ for (; outputIndex < end; outputIndex++) out[outputIndex] = out[outputIndex - dt];
186
+ }
187
+ }
188
+ if (lengthMap) final = 1;
189
+ } while (!final);
190
+ return pos;
191
+ }
192
+ if (limits && outputIndex !== out.length) return out.slice(0, outputIndex);
193
+ if (!output) return out.subarray(0, outputIndex);
194
+ return out;
195
+ }
196
+ export { gunzip };
@@ -0,0 +1,6 @@
1
+ import "../../../../../hyparquet@1.31.1/node_modules/hyparquet/src/convert.mjs";
2
+ import "../../../../../hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5/node_modules/hyparquet-compressors/src/index.mjs";
3
+ import "./avro.budget.mjs";
4
+ import "./avro.metadata.mjs";
5
+ new TextDecoder();
6
+ export {};
@@ -1,6 +1,6 @@
1
1
  import "../../../../hyparquet@1.31.1/node_modules/hyparquet/src/node.mjs";
2
2
  import "../../../../hyparquet-writer@0.16.10_patch_hash_d26d002aede61ad95dd633d6557b56897cdcbc45dfc3a5d93fa0e9075ad5425f/node_modules/hyparquet-writer/src/node.mjs";
3
- import "../../../../hyparquet-compressors@1.1.2/node_modules/hyparquet-compressors/src/index.mjs";
3
+ import "../../../../hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5/node_modules/hyparquet-compressors/src/index.mjs";
4
4
  import "./avro/avro.metadata.mjs";
5
5
  import "./avro/avro.read.mjs";
6
6
  import "./utils.mjs";
@@ -2,7 +2,7 @@ import "../../../../hyparquet@1.31.1/node_modules/hyparquet/src/schema.mjs";
2
2
  import "../../../../hyparquet@1.31.1/node_modules/hyparquet/src/utils.mjs";
3
3
  import "../../../../hyparquet@1.31.1/node_modules/hyparquet/src/filter.mjs";
4
4
  import "../../../../hyparquet@1.31.1/node_modules/hyparquet/src/node.mjs";
5
- import "../../../../hyparquet-compressors@1.1.2/node_modules/hyparquet-compressors/src/index.mjs";
5
+ import "../../../../hyparquet-compressors@1.1.2_patch_hash_3f8f44805c034b2563763dcd5d37050ea6b1d5d45b46ea37adc4a721e748a1c5/node_modules/hyparquet-compressors/src/index.mjs";
6
6
  import "./utils.mjs";
7
7
  import "./delete.mjs";
8
8
  import "./fetch.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/engine",
3
3
  "type": "module",
4
- "version": "7.6.0",
4
+ "version": "7.8.0",
5
5
  "description": "Append-only Parquet/DuckDB storage engine + planner + adapters for the gscdump pipeline. Node + edge runtimes; opt-in heavy peers.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -189,10 +189,10 @@
189
189
  }
190
190
  },
191
191
  "dependencies": {
192
- "@gscdump/contracts": "^7.6.0",
193
- "@gscdump/lakehouse": "^7.6.0",
192
+ "@gscdump/contracts": "^7.8.0",
193
+ "@gscdump/lakehouse": "^7.8.0",
194
194
  "drizzle-orm": "1.0.0-rc.4",
195
- "gscdump": "^7.6.0",
195
+ "gscdump": "^7.8.0",
196
196
  "pathe": "^2.0.3",
197
197
  "proper-lockfile": "^4.1.2"
198
198
  },
@@ -1,173 +0,0 @@
1
- import { fixedDistance, fixedDistanceExtraBits, fixedDistanceMap, fixedLength, fixedLengthExtraBits, fixedLengthMap, huffMap } from "./gzip.huffman.mjs";
2
- const codeLengthIndexMap = new Uint8Array([
3
- 16,
4
- 17,
5
- 18,
6
- 0,
7
- 8,
8
- 7,
9
- 9,
10
- 6,
11
- 10,
12
- 5,
13
- 11,
14
- 4,
15
- 12,
16
- 3,
17
- 13,
18
- 2,
19
- 14,
20
- 1,
21
- 15
22
- ]);
23
- function bits(input, pos, mask) {
24
- const o = pos / 8 | 0;
25
- return (input[o] | input[o + 1] << 8) >> (pos & 7) & mask;
26
- }
27
- function bits16(d, p) {
28
- const o = p / 8 | 0;
29
- return (d[o] | d[o + 1] << 8 | d[o + 2] << 16) >> (p & 7);
30
- }
31
- function shft(p) {
32
- return (p + 7) / 8 | 0;
33
- }
34
- function gzipStart(input, i) {
35
- if (input[i++] !== 31 || input[i++] !== 139 || input[i++] !== 8) return 0;
36
- const flag = input[i++];
37
- i += 6;
38
- if (flag & 4) i += (input[i + 10] | input[i + 11] << 8) + 2;
39
- for (let zs = (flag >> 3 & 1) + (flag >> 4 & 1); zs > 0; zs -= Number(!input[i++]));
40
- return i + (flag & 2);
41
- }
42
- function gunzip(input, output, inputIndex = 0, outputIndex = 0) {
43
- let out = output ?? /* @__PURE__ */ new Uint8Array(1024);
44
- if (!(input.length - inputIndex)) return out;
45
- const payloadStart = gzipStart(input, inputIndex);
46
- if (payloadStart === input.length - 8) return out;
47
- if (payloadStart > input.length - 8) throw new Error("unexpected EOF");
48
- let pos = payloadStart * 8;
49
- let final = 0;
50
- let lengthBits = 0;
51
- let distBits = 0;
52
- let lengthMap;
53
- let distMap;
54
- const totalBits = input.length * 8;
55
- function ensureSize(length) {
56
- if (!output && length > out.length) {
57
- const old = out;
58
- out = new Uint8Array(Math.max(old.length * 2, length));
59
- out.set(old);
60
- }
61
- }
62
- do {
63
- if (!lengthMap) {
64
- final = bits(input, pos, 1);
65
- const type = bits(input, pos + 1, 3);
66
- pos += 3;
67
- if (!type) {
68
- const s = shft(pos) + 4;
69
- const l = input[s - 4] | input[s - 3] << 8;
70
- const t = s + l;
71
- if (t > input.length) throw new Error("unexpected EOF");
72
- ensureSize(outputIndex + l);
73
- out.set(input.subarray(s, t), outputIndex);
74
- outputIndex += l;
75
- pos = t * 8;
76
- continue;
77
- } else if (type === 1) {
78
- lengthMap = fixedLengthMap;
79
- distMap = fixedDistanceMap;
80
- lengthBits = 9;
81
- distBits = 5;
82
- } else if (type === 2) {
83
- const hLiteral = bits(input, pos, 31) + 257;
84
- const hcLengths = bits(input, pos + 10, 15) + 4;
85
- const tl = hLiteral + bits(input, pos + 5, 31) + 1;
86
- pos += 14;
87
- const lengthDistanceTree = new Uint8Array(tl);
88
- const codeLengthTree = /* @__PURE__ */ new Uint8Array(19);
89
- for (let i = 0; i < hcLengths; ++i) codeLengthTree[codeLengthIndexMap[i]] = bits(input, pos + i * 3, 7);
90
- pos += hcLengths * 3;
91
- const codeLengthBits = Math.max(...codeLengthTree);
92
- const clbMask = (1 << codeLengthBits) - 1;
93
- const codeLengthMap = huffMap(codeLengthTree, codeLengthBits, 1);
94
- for (let i = 0; i < tl;) {
95
- const r = codeLengthMap[bits(input, pos, clbMask)];
96
- pos += r & 15;
97
- const symbol = r >> 4;
98
- if (symbol < 16) lengthDistanceTree[i++] = symbol;
99
- else {
100
- let copy = 0;
101
- let n = 0;
102
- if (symbol === 16) {
103
- n = 3 + bits(input, pos, 3);
104
- pos += 2;
105
- copy = lengthDistanceTree[i - 1];
106
- } else if (symbol === 17) {
107
- n = 3 + bits(input, pos, 7);
108
- pos += 3;
109
- } else if (symbol === 18) {
110
- n = 11 + bits(input, pos, 127);
111
- pos += 7;
112
- }
113
- while (n--) lengthDistanceTree[i++] = copy;
114
- }
115
- }
116
- const lengthTree = lengthDistanceTree.subarray(0, hLiteral);
117
- const distanceTree = lengthDistanceTree.subarray(hLiteral);
118
- lengthBits = Math.max(...lengthTree);
119
- distBits = Math.max(...distanceTree);
120
- lengthMap = huffMap(lengthTree, lengthBits, 1);
121
- distMap = huffMap(distanceTree, distBits, 1);
122
- } else throw new Error("invalid block type");
123
- if (pos > totalBits) throw new Error("unexpected EOF");
124
- }
125
- ensureSize(outputIndex + 131072);
126
- const lms = (1 << lengthBits) - 1;
127
- const dms = (1 << distBits) - 1;
128
- for (;;) {
129
- const code = lengthMap[bits16(input, pos) & lms];
130
- const sym = code >> 4;
131
- pos += code & 15;
132
- if (pos > totalBits) throw new Error("unexpected EOF");
133
- if (!code) throw new Error("invalid length/literal");
134
- if (sym < 256) out[outputIndex++] = sym;
135
- else if (sym === 256) {
136
- lengthMap = void 0;
137
- break;
138
- } else {
139
- let add = sym - 254;
140
- if (sym > 264) {
141
- const index = sym - 257;
142
- const b = fixedLengthExtraBits[index];
143
- add = bits(input, pos, (1 << b) - 1) + fixedLength[index];
144
- pos += b;
145
- }
146
- if (!distMap) throw new Error("invalid distance map");
147
- const d = distMap[bits16(input, pos) & dms];
148
- const dsym = d >> 4;
149
- if (!d) throw new Error("invalid distance");
150
- pos += d & 15;
151
- let dt = fixedDistance[dsym];
152
- if (dsym > 3) {
153
- const b = fixedDistanceExtraBits[dsym];
154
- dt += bits16(input, pos) & (1 << b) - 1;
155
- pos += b;
156
- }
157
- if (pos > totalBits) throw new Error("unexpected EOF");
158
- const end = outputIndex + add;
159
- if (outputIndex < dt) throw new Error("unexpected dictionary case");
160
- ensureSize(end);
161
- for (; outputIndex < end; outputIndex++) out[outputIndex] = out[outputIndex - dt];
162
- }
163
- }
164
- if (lengthMap) final = 1;
165
- } while (!final);
166
- if (outputIndex < out.length) {
167
- const nextBlock = Math.ceil(pos / 8) + 8;
168
- gunzip(input, out, nextBlock, outputIndex);
169
- }
170
- if (!output) return out.subarray(0, outputIndex);
171
- return out;
172
- }
173
- export { gunzip };
@@ -1,5 +0,0 @@
1
- import "../../../../../hyparquet@1.31.1/node_modules/hyparquet/src/convert.mjs";
2
- import "../../../../../hyparquet-compressors@1.1.2/node_modules/hyparquet-compressors/src/index.mjs";
3
- import "./avro.metadata.mjs";
4
- new TextDecoder();
5
- export {};