hyperstreamdb 0.1.1__tar.gz
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.
- hyperstreamdb-0.1.1/.gitattributes +1 -0
- hyperstreamdb-0.1.1/.github/workflows/release.yml +279 -0
- hyperstreamdb-0.1.1/.gitignore +99 -0
- hyperstreamdb-0.1.1/.hypothesis/constants/32b327793848e7d8 +4 -0
- hyperstreamdb-0.1.1/.hypothesis/constants/67b0a8ccf18bf5d2 +4 -0
- hyperstreamdb-0.1.1/.hypothesis/constants/84828557b4ee7be4 +4 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/033d249393293bc0/8e1e35c1a81e136d +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/049636c0c015cfc3/0ed63182b31492e2 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/049636c0c015cfc3/5ac252de8b508dc4 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/049636c0c015cfc3/c69672a5906e5344 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/049636c0c015cfc3/fc828d7b270e79f1 +2 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/033d249393293bc0 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/049636c0c015cfc3 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/05c52c9dbdefb039 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/0aa855aa286cc0d5 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/0e93d521ad8ef297 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/221ff8984f1afcd9 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/225f7f5440d9a2a1 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/2d4c1faa9e4a0819 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/36599888c1042a48 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/40704535438cf9f8 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/41be53cbad6e8d92 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/475ae2144fdf49f9 +2 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/4b0f3198ef3db3c2 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/59ae5c10cefe5c60 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/5ee4203c85e85823 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/6110d1d2476ad899 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/6fd0ebd83350bcd2 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/785f986097e422f8 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/7bf4a2cde59031b2 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/91242aa0c25004e0 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/9c035198139b2efc +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/a45fa4b659eeb9ab +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/a4f92d149856ac2c +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/b9d1eaf93992a2cc +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/cc4d031715368385 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/d4df3c831314ef07 +2 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/de17b168cfeb515b +2 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/e5367d5f12d2042b +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/f2f8bcbc32cab849 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/f84bb7f3b884e266 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/04e6b3400353b141/fd7b8d1c000fde7f +1 -1
- hyperstreamdb-0.1.1/.hypothesis/examples/05c52c9dbdefb039/99d15f32aec985fb +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/5671237fbbf113b2 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/79c1573b2ffdb2ac +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/84cf5a51ba1787b1 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/a0cb613faedd9a04 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/a4b1fb408c11860f +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0aa855aa286cc0d5/f73051ec0a52ed7e +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/0e93d521ad8ef297/6723cf4071f8bc14 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/221ff8984f1afcd9/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/225f7f5440d9a2a1/5e50886300e01e9d +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/2d4c1faa9e4a0819/99d15f32aec985fb +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/36599888c1042a48/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/40704535438cf9f8/8e72e999906e69af +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/41be53cbad6e8d92/3271a1944fa17f81 +3 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/41be53cbad6e8d92/bb49a0bb4dc1adbf +3 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/475ae2144fdf49f9/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/4b0f3198ef3db3c2/50d4726de6ad1864 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/59ae5c10cefe5c60/c1f4a115e99a62f7 +1 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/5ee4203c85e85823/8e1e35c1a81e136d +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/6110d1d2476ad899/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/6fd0ebd83350bcd2/2fa72292e7a6b8bc +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/6fd0ebd83350bcd2/39e0e4d93040eb1c +2 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/6fd0ebd83350bcd2/a53f8d859d899871 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/785f986097e422f8/99d15f32aec985fb +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/7bf4a2cde59031b2/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/91242aa0c25004e0/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/9c035198139b2efc/5e50886300e01e9d +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/a45fa4b659eeb9ab/563ec4e1d08d4158 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/a4f92d149856ac2c/5e50886300e01e9d +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/b9d1eaf93992a2cc/e8bbe1e1d0cd639c +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/cc4d031715368385/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/d4df3c831314ef07/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/de17b168cfeb515b/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/e5367d5f12d2042b/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/f2f8bcbc32cab849/fe081ddaa3a9a31b +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/f84bb7f3b884e266/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/.hypothesis/examples/fd7b8d1c000fde7f/0cf5cb1ae98c56d8 +0 -0
- hyperstreamdb-0.1.1/Cargo.lock +8899 -0
- hyperstreamdb-0.1.1/Cargo.toml +165 -0
- hyperstreamdb-0.1.1/LICENSE-APACHE +201 -0
- hyperstreamdb-0.1.1/LICENSE-MIT +21 -0
- hyperstreamdb-0.1.1/PKG-INFO +644 -0
- hyperstreamdb-0.1.1/README.md +600 -0
- hyperstreamdb-0.1.1/RUN_COMPLIANCE_TESTS.sh +117 -0
- hyperstreamdb-0.1.1/THIRDPARTY_NOTICES.md +23 -0
- hyperstreamdb-0.1.1/benches/bench_table.rs +198 -0
- hyperstreamdb-0.1.1/benches/performance.rs +358 -0
- hyperstreamdb-0.1.1/benchmarks/competitive/benchmark_results/benchmark_charts.png +0 -0
- hyperstreamdb-0.1.1/benchmarks/competitive/benchmark_results/benchmark_results.csv +7 -0
- hyperstreamdb-0.1.1/benchmarks/competitive/benchmark_suite.py +662 -0
- hyperstreamdb-0.1.1/benchmarks/competitive/requirements.txt +19 -0
- hyperstreamdb-0.1.1/benchmarks/competitive/run_benchmarks.sh +82 -0
- hyperstreamdb-0.1.1/benchmarks/profile_ingest.py +254 -0
- hyperstreamdb-0.1.1/book.toml +10 -0
- hyperstreamdb-0.1.1/build-connectors.sh +124 -0
- hyperstreamdb-0.1.1/build.rs +43 -0
- hyperstreamdb-0.1.1/build_out.txt +654 -0
- hyperstreamdb-0.1.1/check_iceberg_compliance.py +667 -0
- hyperstreamdb-0.1.1/clippy_output.txt +772 -0
- hyperstreamdb-0.1.1/demo/.ipynb_checkpoints/01_installation_and_basics-checkpoint.ipynb +198 -0
- hyperstreamdb-0.1.1/demo/01_installation_and_basics.ipynb +542 -0
- hyperstreamdb-0.1.1/demo/02_rag_pipeline.ipynb +268 -0
- hyperstreamdb-0.1.1/demo/news_db/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/demo/news_db/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/demo/rag_db/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/demo/rag_db/metadata/v10.metadata.json +1 -0
- hyperstreamdb-0.1.1/demo/rag_db/metadata/v4.metadata.json +1 -0
- hyperstreamdb-0.1.1/demo/rag_db/metadata/v7.metadata.json +1 -0
- hyperstreamdb-0.1.1/demo/rag_db/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/demo/rag_hf_demo.py +84 -0
- hyperstreamdb-0.1.1/demo/requirements.txt +30 -0
- hyperstreamdb-0.1.1/docker/trino/catalog/hyperstreamdb.properties +5 -0
- hyperstreamdb-0.1.1/docker/trino/catalog/iceberg.properties +12 -0
- hyperstreamdb-0.1.1/docker-compose-minio-nessie.yml +135 -0
- hyperstreamdb-0.1.1/docker-compose.yml +153 -0
- hyperstreamdb-0.1.1/docs/BENCHMARKING.md +80 -0
- hyperstreamdb-0.1.1/docs/COMPREHENSIVE_GUIDE.md +218 -0
- hyperstreamdb-0.1.1/docs/GPU_SETUP_GUIDE.md +417 -0
- hyperstreamdb-0.1.1/docs/ICEBERG_V2_V3_API.md +239 -0
- hyperstreamdb-0.1.1/docs/PGVECTOR_SQL_GUIDE.md +687 -0
- hyperstreamdb-0.1.1/docs/PYTHON_VECTOR_API.md +554 -0
- hyperstreamdb-0.1.1/docs/VECTOR_CONFIGURATION.md +317 -0
- hyperstreamdb-0.1.1/docs/api_reference.md +271 -0
- hyperstreamdb-0.1.1/docs/architecture.md +42 -0
- hyperstreamdb-0.1.1/docs/catalog_usage.md +107 -0
- hyperstreamdb-0.1.1/docs/index.md +15 -0
- hyperstreamdb-0.1.1/docs/integrations/README.md +8 -0
- hyperstreamdb-0.1.1/docs/integrations/java_jni.md +33 -0
- hyperstreamdb-0.1.1/docs/integrations/python.md +110 -0
- hyperstreamdb-0.1.1/docs/integrations/spark.md +42 -0
- hyperstreamdb-0.1.1/docs/integrations/trino.md +43 -0
- hyperstreamdb-0.1.1/examples/catalog_usage.rs +51 -0
- hyperstreamdb-0.1.1/examples/configs/glue.toml +6 -0
- hyperstreamdb-0.1.1/examples/configs/hive.toml +5 -0
- hyperstreamdb-0.1.1/examples/configs/nessie.toml +5 -0
- hyperstreamdb-0.1.1/examples/configs/rest.toml +6 -0
- hyperstreamdb-0.1.1/examples/configs/unity.toml +5 -0
- hyperstreamdb-0.1.1/examples/pgvector_python_examples.py +542 -0
- hyperstreamdb-0.1.1/examples/pgvector_sql_examples.sql +433 -0
- hyperstreamdb-0.1.1/examples/python_distance_api_examples.py +395 -0
- hyperstreamdb-0.1.1/examples/vector_index_types.py +52 -0
- hyperstreamdb-0.1.1/fix_cache.patch +12 -0
- hyperstreamdb-0.1.1/fix_nb.py +30 -0
- hyperstreamdb-0.1.1/fix_schema.patch +21 -0
- hyperstreamdb-0.1.1/proptest-regressions/core/index/gpu.txt +9 -0
- hyperstreamdb-0.1.1/proptest-regressions/core/sql/vector_literal.txt +10 -0
- hyperstreamdb-0.1.1/proptest-regressions/core/sql/vector_udf.txt +8 -0
- hyperstreamdb-0.1.1/pyproject.toml +64 -0
- hyperstreamdb-0.1.1/python/hyperstreamdb/__init__.py +417 -0
- hyperstreamdb-0.1.1/python/hyperstreamdb/embeddings.py +98 -0
- hyperstreamdb-0.1.1/spark-hyperstream/.bloop/bloop.settings.json +16 -0
- hyperstreamdb-0.1.1/spark-hyperstream/.bloop/spark-hyperstream-test.json +2872 -0
- hyperstreamdb-0.1.1/spark-hyperstream/.bloop/spark-hyperstream.json +2871 -0
- hyperstreamdb-0.1.1/spark-hyperstream/pom.xml +118 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/DefaultSource.java +30 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/HyperStreamPartition.java +21 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/HyperStreamPartitionReader.java +101 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/HyperStreamPartitionReaderFactory.java +35 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/HyperStreamScanBuilder.java +98 -0
- hyperstreamdb-0.1.1/spark-hyperstream/src/main/java/com/hyperstreamdb/spark/HyperStreamTable.java +44 -0
- hyperstreamdb-0.1.1/src/bin/gateway.rs +122 -0
- hyperstreamdb-0.1.1/src/bin/hdb.rs +225 -0
- hyperstreamdb-0.1.1/src/bin/iceberg_rest.rs +573 -0
- hyperstreamdb-0.1.1/src/bin/probe_datafusion.rs +7 -0
- hyperstreamdb-0.1.1/src/bin/setup_test_data.rs +38 -0
- hyperstreamdb-0.1.1/src/bin/verify_layered_indexing.rs +216 -0
- hyperstreamdb-0.1.1/src/core/cache.rs +374 -0
- hyperstreamdb-0.1.1/src/core/catalog/config.rs +52 -0
- hyperstreamdb-0.1.1/src/core/catalog/glue.rs +207 -0
- hyperstreamdb-0.1.1/src/core/catalog/hive.rs +206 -0
- hyperstreamdb-0.1.1/src/core/catalog/jdbc.rs +179 -0
- hyperstreamdb-0.1.1/src/core/catalog/mod.rs +131 -0
- hyperstreamdb-0.1.1/src/core/catalog/nessie.rs +376 -0
- hyperstreamdb-0.1.1/src/core/catalog/rest.rs +162 -0
- hyperstreamdb-0.1.1/src/core/catalog/unity.rs +212 -0
- hyperstreamdb-0.1.1/src/core/clustering.rs +268 -0
- hyperstreamdb-0.1.1/src/core/compaction.rs +631 -0
- hyperstreamdb-0.1.1/src/core/embeddings.rs +155 -0
- hyperstreamdb-0.1.1/src/core/ffi.rs +317 -0
- hyperstreamdb-0.1.1/src/core/iceberg/iceberg_delete.rs +210 -0
- hyperstreamdb-0.1.1/src/core/iceberg.rs +1502 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/cosine_distance.cu +61 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/hamming_distance.cu +43 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/inner_product.cu +40 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/jaccard_distance.cu +64 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/kmeans_assignment.cu +33 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/l1_distance.cu +40 -0
- hyperstreamdb-0.1.1/src/core/index/cuda/l2_distance.cu +40 -0
- hyperstreamdb-0.1.1/src/core/index/distance.rs +199 -0
- hyperstreamdb-0.1.1/src/core/index/gpu.rs +1715 -0
- hyperstreamdb-0.1.1/src/core/index/hnsw_ivf.rs +961 -0
- hyperstreamdb-0.1.1/src/core/index/ivf.rs +357 -0
- hyperstreamdb-0.1.1/src/core/index/memory.rs +247 -0
- hyperstreamdb-0.1.1/src/core/index/mod.rs +53 -0
- hyperstreamdb-0.1.1/src/core/index/mps/cosine_distance.metal +38 -0
- hyperstreamdb-0.1.1/src/core/index/mps/hamming_distance.metal +29 -0
- hyperstreamdb-0.1.1/src/core/index/mps/inner_product.metal +26 -0
- hyperstreamdb-0.1.1/src/core/index/mps/jaccard_distance.metal +43 -0
- hyperstreamdb-0.1.1/src/core/index/mps/kmeans_assignment.metal +41 -0
- hyperstreamdb-0.1.1/src/core/index/mps/l1_distance.metal +26 -0
- hyperstreamdb-0.1.1/src/core/index/mps/l2_distance.metal +27 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/cosine_distance.cl +29 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/hamming_distance.cl +23 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/inner_product.cl +20 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/jaccard_distance.cl +34 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/kmeans_assignment.cl +33 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/l1_distance.cl +20 -0
- hyperstreamdb-0.1.1/src/core/index/opencl/l2_distance.cl +19 -0
- hyperstreamdb-0.1.1/src/core/index/pq.rs +112 -0
- hyperstreamdb-0.1.1/src/core/index/tokenizer.rs +90 -0
- hyperstreamdb-0.1.1/src/core/maintenance.rs +254 -0
- hyperstreamdb-0.1.1/src/core/manifest.rs +1684 -0
- hyperstreamdb-0.1.1/src/core/merge.rs +519 -0
- hyperstreamdb-0.1.1/src/core/metadata.rs +183 -0
- hyperstreamdb-0.1.1/src/core/mod.rs +25 -0
- hyperstreamdb-0.1.1/src/core/nessie.rs +96 -0
- hyperstreamdb-0.1.1/src/core/planner.rs +1081 -0
- hyperstreamdb-0.1.1/src/core/puffin.rs +185 -0
- hyperstreamdb-0.1.1/src/core/query.rs +806 -0
- hyperstreamdb-0.1.1/src/core/reader.rs +1402 -0
- hyperstreamdb-0.1.1/src/core/segment.rs +1377 -0
- hyperstreamdb-0.1.1/src/core/sql/mod.rs +250 -0
- hyperstreamdb-0.1.1/src/core/sql/optimizer.rs +2455 -0
- hyperstreamdb-0.1.1/src/core/sql/pgvector_rewriter.rs +150 -0
- hyperstreamdb-0.1.1/src/core/sql/physical_plan/index_join.rs +381 -0
- hyperstreamdb-0.1.1/src/core/sql/physical_plan.rs +306 -0
- hyperstreamdb-0.1.1/src/core/sql/session.rs +79 -0
- hyperstreamdb-0.1.1/src/core/sql/vector_literal.rs +2274 -0
- hyperstreamdb-0.1.1/src/core/sql/vector_operators.rs +442 -0
- hyperstreamdb-0.1.1/src/core/sql/vector_udf.rs +2779 -0
- hyperstreamdb-0.1.1/src/core/storage.rs +211 -0
- hyperstreamdb-0.1.1/src/core/table.rs +3942 -0
- hyperstreamdb-0.1.1/src/core/table.rs.orig +3601 -0
- hyperstreamdb-0.1.1/src/core/wal.rs +607 -0
- hyperstreamdb-0.1.1/src/enterprise/continuous_indexing.rs +34 -0
- hyperstreamdb-0.1.1/src/enterprise/license.rs +32 -0
- hyperstreamdb-0.1.1/src/enterprise/mod.rs +7 -0
- hyperstreamdb-0.1.1/src/index.rs.old +11 -0
- hyperstreamdb-0.1.1/src/lib.rs +183 -0
- hyperstreamdb-0.1.1/src/python_binding.rs +1675 -0
- hyperstreamdb-0.1.1/src/python_distance.rs +1373 -0
- hyperstreamdb-0.1.1/src/python_gpu_context.rs +395 -0
- hyperstreamdb-0.1.1/src/telemetry/metrics.rs +35 -0
- hyperstreamdb-0.1.1/src/telemetry/mod.rs +4 -0
- hyperstreamdb-0.1.1/src/telemetry/tracing.rs +44 -0
- hyperstreamdb-0.1.1/task.md +112 -0
- hyperstreamdb-0.1.1/test_admin_features.py +46 -0
- hyperstreamdb-0.1.1/test_admin_table/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_admin_table/metadata/v5.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_admin_table/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_cascading_db/metadata/v2.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_cascading_db/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_catalog.toml +4 -0
- hyperstreamdb-0.1.1/test_compound_pk.py +70 -0
- hyperstreamdb-0.1.1/test_docstrings.py +129 -0
- hyperstreamdb-0.1.1/test_exports.py +142 -0
- hyperstreamdb-0.1.1/test_ingestion_db/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_ingestion_db/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_ingestion_db_cpu/metadata/v2.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_ingestion_db_cpu/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_ingestion_db_gpu/metadata/v2.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_ingestion_db_gpu/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_log.txt +275 -0
- hyperstreamdb-0.1.1/test_per_col_db/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_per_col_db/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_prefilter.py +16 -0
- hyperstreamdb-0.1.1/test_python_ingest.py +82 -0
- hyperstreamdb-0.1.1/test_smart_db_cpu_200000/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_smart_db_cpu_200000/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_smart_db_cpu_50000/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_smart_db_cpu_50000/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_smart_db_gpu_200000/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_smart_db_gpu_200000/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/test_smart_db_gpu_50000/metadata/v1.metadata.json +1 -0
- hyperstreamdb-0.1.1/test_smart_db_gpu_50000/metadata/version-hint.text +1 -0
- hyperstreamdb-0.1.1/tests/all_types_index_test.rs +100 -0
- hyperstreamdb-0.1.1/tests/benchmarks/README.md +186 -0
- hyperstreamdb-0.1.1/tests/benchmarks/benchmark_vs_iceberg.py +429 -0
- hyperstreamdb-0.1.1/tests/benchmarks/common/__init__.py +24 -0
- hyperstreamdb-0.1.1/tests/benchmarks/common/index_verification.py +76 -0
- hyperstreamdb-0.1.1/tests/benchmarks/common/minio_setup.py +170 -0
- hyperstreamdb-0.1.1/tests/benchmarks/common/utils.py +243 -0
- hyperstreamdb-0.1.1/tests/benchmarks/hybrid/__init__.py +1 -0
- hyperstreamdb-0.1.1/tests/benchmarks/hybrid/test_scalar_plus_vector.py +243 -0
- hyperstreamdb-0.1.1/tests/benchmarks/index/test_index_build.py +108 -0
- hyperstreamdb-0.1.1/tests/benchmarks/requirements.txt +10 -0
- hyperstreamdb-0.1.1/tests/benchmarks/run_all.sh +142 -0
- hyperstreamdb-0.1.1/tests/benchmarks/table_format/README.md +90 -0
- hyperstreamdb-0.1.1/tests/benchmarks/table_format/__init__.py +1 -0
- hyperstreamdb-0.1.1/tests/benchmarks/table_format/test_vs_iceberg.py +229 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/QDRANT_COMPARISON.md +153 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/README.md +77 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/__init__.py +1 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/test_cold_read_latency.py +115 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/test_parallel_search.py +181 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/test_qdrant_direct_comparison.py +464 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/test_vector_index_verification.py +126 -0
- hyperstreamdb-0.1.1/tests/benchmarks/vector_search/test_vs_qdrant.py +342 -0
- hyperstreamdb-0.1.1/tests/bin/generate_iceberg_manifests.rs +266 -0
- hyperstreamdb-0.1.1/tests/bin/verify_iceberg_read_check.rs +70 -0
- hyperstreamdb-0.1.1/tests/data/download_nyc_taxi.sh +35 -0
- hyperstreamdb-0.1.1/tests/data/generate_embeddings.py +60 -0
- hyperstreamdb-0.1.1/tests/data/generate_wikipedia.py +108 -0
- hyperstreamdb-0.1.1/tests/data/start_nessie.sh +7 -0
- hyperstreamdb-0.1.1/tests/datafusion_rust_test.rs +92 -0
- hyperstreamdb-0.1.1/tests/debug_murmur3.rs +96 -0
- hyperstreamdb-0.1.1/tests/fuzz_murmur3.rs +94 -0
- hyperstreamdb-0.1.1/tests/integration/test_boolean_index.py +44 -0
- hyperstreamdb-0.1.1/tests/integration/test_catalog.py +72 -0
- hyperstreamdb-0.1.1/tests/integration/test_concurrent_access.py +332 -0
- hyperstreamdb-0.1.1/tests/integration/test_core_integration.rs +69 -0
- hyperstreamdb-0.1.1/tests/integration/test_error_handling.py +381 -0
- hyperstreamdb-0.1.1/tests/integration/test_glue_catalog.py +99 -0
- hyperstreamdb-0.1.1/tests/integration/test_hnsw_ivf.py +78 -0
- hyperstreamdb-0.1.1/tests/integration/test_merge.py +100 -0
- hyperstreamdb-0.1.1/tests/integration/test_multi_cloud.py +209 -0
- hyperstreamdb-0.1.1/tests/integration/test_nyc_taxi.py +137 -0
- hyperstreamdb-0.1.1/tests/integration/test_profiling_micro.py +58 -0
- hyperstreamdb-0.1.1/tests/integration/test_query_planning.py +92 -0
- hyperstreamdb-0.1.1/tests/integration/test_rest_catalog.py +81 -0
- hyperstreamdb-0.1.1/tests/integration/test_schema_evolution.py +403 -0
- hyperstreamdb-0.1.1/tests/integration/test_selective_indexing.py +116 -0
- hyperstreamdb-0.1.1/tests/integration/test_sql.py +139 -0
- hyperstreamdb-0.1.1/tests/integration/test_vector_search.py +117 -0
- hyperstreamdb-0.1.1/tests/integration/test_views.py +38 -0
- hyperstreamdb-0.1.1/tests/integration/test_wal_compaction.py +73 -0
- hyperstreamdb-0.1.1/tests/integration/test_wal_durability.py +77 -0
- hyperstreamdb-0.1.1/tests/integration/test_wikipedia.py +177 -0
- hyperstreamdb-0.1.1/tests/integration/test_write_buffer.py +101 -0
- hyperstreamdb-0.1.1/tests/integration_test_hnsw_ivf_native.rs +138 -0
- hyperstreamdb-0.1.1/tests/performance/README.md +72 -0
- hyperstreamdb-0.1.1/tests/performance/test_benchmarks.py +465 -0
- hyperstreamdb-0.1.1/tests/performance/test_gpu_batch_benchmarks.py +359 -0
- hyperstreamdb-0.1.1/tests/prototype_merge.py +113 -0
- hyperstreamdb-0.1.1/tests/schema_evolution_test.rs +72 -0
- hyperstreamdb-0.1.1/tests/test_advanced_sql.rs +208 -0
- hyperstreamdb-0.1.1/tests/test_binary_vector_properties.py +265 -0
- hyperstreamdb-0.1.1/tests/test_catalog_factory.py +36 -0
- hyperstreamdb-0.1.1/tests/test_concurrency_robust.rs +121 -0
- hyperstreamdb-0.1.1/tests/test_connector_apis.py +106 -0
- hyperstreamdb-0.1.1/tests/test_connector_ffi.rs +100 -0
- hyperstreamdb-0.1.1/tests/test_connector_integration.py +104 -0
- hyperstreamdb-0.1.1/tests/test_context_backend_property.py +115 -0
- hyperstreamdb-0.1.1/tests/test_core_ingestion.rs +227 -0
- hyperstreamdb-0.1.1/tests/test_cross_engine_compat.py +233 -0
- hyperstreamdb-0.1.1/tests/test_data_types.rs +59 -0
- hyperstreamdb-0.1.1/tests/test_default_config.py +28 -0
- hyperstreamdb-0.1.1/tests/test_distance_properties.py +568 -0
- hyperstreamdb-0.1.1/tests/test_docstrings.py +129 -0
- hyperstreamdb-0.1.1/tests/test_durability_robust.rs +104 -0
- hyperstreamdb-0.1.1/tests/test_exports.py +142 -0
- hyperstreamdb-0.1.1/tests/test_gpu_kernel_availability_property.proptest-regressions +9 -0
- hyperstreamdb-0.1.1/tests/test_gpu_kernel_availability_property.rs +363 -0
- hyperstreamdb-0.1.1/tests/test_gpu_kmeans.py +53 -0
- hyperstreamdb-0.1.1/tests/test_hamming_distance_kernel.rs +206 -0
- hyperstreamdb-0.1.1/tests/test_hardware_parity.rs +106 -0
- hyperstreamdb-0.1.1/tests/test_hyperstream_mps.py +50 -0
- hyperstreamdb-0.1.1/tests/test_iceberg_python.py +88 -0
- hyperstreamdb-0.1.1/tests/test_ingestion_optimizations.py +78 -0
- hyperstreamdb-0.1.1/tests/test_inner_product_kernel.rs +154 -0
- hyperstreamdb-0.1.1/tests/test_jaccard_distance_kernel.rs +276 -0
- hyperstreamdb-0.1.1/tests/test_l1_distance_kernel.rs +154 -0
- hyperstreamdb-0.1.1/tests/test_merge_integration.rs +221 -0
- hyperstreamdb-0.1.1/tests/test_mmh3.py +16 -0
- hyperstreamdb-0.1.1/tests/test_mps_gpu.py +66 -0
- hyperstreamdb-0.1.1/tests/test_partitioning_advanced.rs +146 -0
- hyperstreamdb-0.1.1/tests/test_per_column_acceleration.py +56 -0
- hyperstreamdb-0.1.1/tests/test_performance_comparison.py +78 -0
- hyperstreamdb-0.1.1/tests/test_pgvector_minimal.rs +6 -0
- hyperstreamdb-0.1.1/tests/test_pgvector_operators_gpu.rs +310 -0
- hyperstreamdb-0.1.1/tests/test_pgvector_sql_integration.rs +543 -0
- hyperstreamdb-0.1.1/tests/test_puffin.rs +47 -0
- hyperstreamdb-0.1.1/tests/test_python_gpu_context.py +183 -0
- hyperstreamdb-0.1.1/tests/test_qdrant_install.py +47 -0
- hyperstreamdb-0.1.1/tests/test_smart_switching.py +67 -0
- hyperstreamdb-0.1.1/tests/test_splits.py +106 -0
- hyperstreamdb-0.1.1/tests/test_sql_udf_gpu_integration.rs +196 -0
- hyperstreamdb-0.1.1/tests/test_vector_consistency.rs +97 -0
- hyperstreamdb-0.1.1/tests/verify_catalog_commit.rs +73 -0
- hyperstreamdb-0.1.1/tests/verify_compliance.rs +23 -0
- hyperstreamdb-0.1.1/tests/verify_delete_correctness.rs +149 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_python_delete.sh +90 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_rest.sh +39 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_rest_create.sh +52 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_rest_delete.sh +108 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_rest_remove_index.sh +135 -0
- hyperstreamdb-0.1.1/tests/verify_iceberg_rest_update.sh +66 -0
- hyperstreamdb-0.1.1/tests/verify_metadata_creation.rs +41 -0
- hyperstreamdb-0.1.1/tests/verify_mor_reads.rs +98 -0
- hyperstreamdb-0.1.1/tests/verify_mor_writes.rs +86 -0
- hyperstreamdb-0.1.1/tests/verify_partition_transforms.rs +74 -0
- hyperstreamdb-0.1.1/tests/verify_partitioned_writes.rs +103 -0
- hyperstreamdb-0.1.1/tests/verify_puffin_index.sh +85 -0
- hyperstreamdb-0.1.1/tests/verify_rest_updates.sh +47 -0
- hyperstreamdb-0.1.1/tests/verify_schema_compat.rs +345 -0
- hyperstreamdb-0.1.1/trino-config/.DS_Store +0 -0
- hyperstreamdb-0.1.1/trino-config/catalog/glue_catalog.properties +13 -0
- hyperstreamdb-0.1.1/trino-config/catalog/hyperstreamdb.properties +5 -0
- hyperstreamdb-0.1.1/trino-config/catalog/iceberg.properties +12 -0
- hyperstreamdb-0.1.1/trino-config/catalog/memory.properties +1 -0
- hyperstreamdb-0.1.1/trino-config/catalog/postgres.properties +4 -0
- hyperstreamdb-0.1.1/trino-config/config.properties +9 -0
- hyperstreamdb-0.1.1/trino-config/entrypoint.sh +45 -0
- hyperstreamdb-0.1.1/trino-config/jvm.config +11 -0
- hyperstreamdb-0.1.1/trino-config/node.properties +3 -0
- hyperstreamdb-0.1.1/trino-config.zip +0 -0
- hyperstreamdb-0.1.1/trino-hyperstream/pom.xml +96 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBColumnHandle.java +25 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBConnectorFactory.java +51 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBMetadata.java +55 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBPageSource.java +145 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBPageSourceProvider.java +20 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBPlugin.java +12 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBSplit.java +48 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBSplitManager.java +92 -0
- hyperstreamdb-0.1.1/trino-hyperstream/src/main/java/com/hyperstreamdb/trino/HyperStreamDBTableHandle.java +28 -0
- hyperstreamdb-0.1.1/update_schema_patch.py +236 -0
- hyperstreamdb-0.1.1/update_schema_patch2.py +17 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/.gitignore +9 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/Cargo.toml +118 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/LICENSE-APACHE +13 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/LICENSE-MIT +25 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/README.md +166 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-glove/ann-glove25-angular.rs +158 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-glove/annhdf5.rs +217 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-mnist/ann-mnist-784-euclidean.rs +114 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-mnist/annhdf5.rs +205 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-sift1m/ann-sift1m-128-euclidean.rs +134 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/ann-sift1m/annhdf5.rs +204 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/deallocation_test.rs +40 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/levensthein.rs +39 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/examples/random.rs +70 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/annhdf5.rs +218 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/api.rs +106 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/dist.rs +1595 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/flatten.rs +252 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/hnsw.rs +1617 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/hnswio.rs +986 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/lib.rs +35 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/libext.rs +931 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/prelude.rs +5 -0
- hyperstreamdb-0.1.1/vendor/hnsw_rs/src/test.rs +292 -0
- hyperstreamdb-0.1.1/verify_docstrings.py +109 -0
- hyperstreamdb-0.1.1/verify_fluent_api.py +167 -0
- hyperstreamdb-0.1.1/verify_unified_ingest.py +77 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*.so binary=true
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
id-token: write
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
CARGO_TERM_COLOR: always
|
|
15
|
+
# Reduce disk usage by disabling incremental compilation and heavy debug info
|
|
16
|
+
CARGO_INCREMENTAL: 0
|
|
17
|
+
CARGO_PROFILE_DEV_DEBUG: 0
|
|
18
|
+
CARGO_PROFILE_TEST_DEBUG: 0
|
|
19
|
+
# Opt into Node.js 24 for actions to avoid deprecation warnings (required by June 2026)
|
|
20
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
check:
|
|
24
|
+
name: Run Tests
|
|
25
|
+
runs-on: ubuntu-22.04
|
|
26
|
+
steps:
|
|
27
|
+
- name: Maximize build space
|
|
28
|
+
run: |
|
|
29
|
+
sudo rm -rf /usr/share/dotnet
|
|
30
|
+
sudo rm -rf /usr/local/lib/android
|
|
31
|
+
sudo rm -rf /opt/ghc
|
|
32
|
+
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
- name: Install Rust
|
|
35
|
+
uses: dtolnay/rust-toolchain@stable
|
|
36
|
+
- name: Install Dependencies
|
|
37
|
+
run: |
|
|
38
|
+
sudo apt-get update
|
|
39
|
+
sudo apt-get install -y ocl-icd-opencl-dev
|
|
40
|
+
- name: Install CUDA Toolkit
|
|
41
|
+
uses: Jimver/cuda-toolkit@v0.2.30
|
|
42
|
+
with:
|
|
43
|
+
cuda: '12.1.0'
|
|
44
|
+
- name: Prep CUDA Stubs
|
|
45
|
+
run: |
|
|
46
|
+
# The linker looks for libcuda.so.1, but stubs only provide libcuda.so
|
|
47
|
+
sudo ln -sf /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1
|
|
48
|
+
echo "/usr/local/cuda/lib64/stubs" | sudo tee /etc/ld.so.conf.d/cuda-stubs.conf
|
|
49
|
+
sudo ldconfig
|
|
50
|
+
- uses: dorny/paths-filter@v3
|
|
51
|
+
id: filter
|
|
52
|
+
with:
|
|
53
|
+
filters: |
|
|
54
|
+
code:
|
|
55
|
+
- 'src/**'
|
|
56
|
+
- 'Cargo.toml'
|
|
57
|
+
- 'Cargo.lock'
|
|
58
|
+
- 'vendor/**'
|
|
59
|
+
- 'python/**'
|
|
60
|
+
- 'pyproject.toml'
|
|
61
|
+
- 'tests/**'
|
|
62
|
+
- 'benches/**'
|
|
63
|
+
- 'build.rs'
|
|
64
|
+
|
|
65
|
+
- name: Cache Rust dependencies
|
|
66
|
+
if: steps.filter.outputs.code == 'true'
|
|
67
|
+
uses: Swatinem/rust-cache@v2
|
|
68
|
+
with:
|
|
69
|
+
shared-key: "check"
|
|
70
|
+
|
|
71
|
+
- name: Run Cargo Check
|
|
72
|
+
if: steps.filter.outputs.code == 'true'
|
|
73
|
+
run: cargo check --all-targets --all-features
|
|
74
|
+
|
|
75
|
+
- name: Run Cargo Tests (CPU)
|
|
76
|
+
if: steps.filter.outputs.code == 'true'
|
|
77
|
+
run: cargo test --lib --tests
|
|
78
|
+
|
|
79
|
+
- name: Run Cargo Tests (Features)
|
|
80
|
+
if: steps.filter.outputs.code == 'true'
|
|
81
|
+
# Note: GPU tests might skip on CI runners, but compilation is verified
|
|
82
|
+
# Use --nocapture to see live progress and identify potential hangs
|
|
83
|
+
timeout-minutes: 20
|
|
84
|
+
env:
|
|
85
|
+
# Point to CUDA stubs so binaries can load even without a GPU
|
|
86
|
+
LD_LIBRARY_PATH: /usr/local/cuda/lib64/stubs:${{ env.LD_LIBRARY_PATH }}
|
|
87
|
+
run: cargo test --features intel_gpu,cuda --lib --tests -- --skip gpu_execution --nocapture
|
|
88
|
+
|
|
89
|
+
linux:
|
|
90
|
+
needs: [check]
|
|
91
|
+
runs-on: ubuntu-22.04
|
|
92
|
+
strategy:
|
|
93
|
+
fail-fast: true
|
|
94
|
+
matrix:
|
|
95
|
+
target: [x86_64]
|
|
96
|
+
steps:
|
|
97
|
+
- uses: actions/checkout@v4
|
|
98
|
+
- name: Cache Rust dependencies
|
|
99
|
+
uses: Swatinem/rust-cache@v2
|
|
100
|
+
with:
|
|
101
|
+
shared-key: "linux-x86_64"
|
|
102
|
+
cache-targets: false
|
|
103
|
+
- name: Install CUDA Toolkit
|
|
104
|
+
uses: Jimver/cuda-toolkit@v0.2.30
|
|
105
|
+
id: cuda-toolkit
|
|
106
|
+
with:
|
|
107
|
+
cuda: '12.1.0'
|
|
108
|
+
method: 'network'
|
|
109
|
+
# We only need compilation, not the full driver
|
|
110
|
+
sub-packages: '["nvcc", "cudart-dev"]'
|
|
111
|
+
- name: Setup Zig
|
|
112
|
+
uses: mlugg/setup-zig@v1
|
|
113
|
+
with:
|
|
114
|
+
version: 0.13.0
|
|
115
|
+
- name: Update version from tag
|
|
116
|
+
shell: bash
|
|
117
|
+
run: |
|
|
118
|
+
if [[ $GITHUB_REF == refs/tags/v* ]]; then
|
|
119
|
+
export VERSION=${GITHUB_REF#refs/tags/v}
|
|
120
|
+
export CARGO_VERSION=$(echo $VERSION | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)([a-zA-Z])/\1-\2/')
|
|
121
|
+
echo "Bumping versions to $VERSION (Cargo: $CARGO_VERSION)"
|
|
122
|
+
# Only replace the FIRST occurrence in each file
|
|
123
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{CARGO_VERSION}\"/ and $done = 1' Cargo.toml
|
|
124
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{VERSION}\"/ and $done = 1' pyproject.toml
|
|
125
|
+
fi
|
|
126
|
+
- name: Install OpenCL headers and ICD
|
|
127
|
+
run: sudo apt-get update && sudo apt-get install -y ocl-icd-opencl-dev
|
|
128
|
+
- name: Create cross-compilation stubs
|
|
129
|
+
run: |
|
|
130
|
+
# Create a platform-specific stub dir
|
|
131
|
+
mkdir -p /tmp/stubs
|
|
132
|
+
|
|
133
|
+
# We only build x86_64 now
|
|
134
|
+
ZIG_TARGET="x86_64-linux-gnu.2.17"
|
|
135
|
+
|
|
136
|
+
# 1. Create OpenCL stub (with more common symbols)
|
|
137
|
+
echo 'void clGetPlatformIDs() {} void clGetDeviceIDs() {} void clCreateContext() {}' > /tmp/stubs/opencl_stub.c
|
|
138
|
+
zig cc -target $ZIG_TARGET -shared -o /tmp/stubs/libOpenCL.so /tmp/stubs/opencl_stub.c
|
|
139
|
+
ln -sf libOpenCL.so /tmp/stubs/libOpenCL.so.1
|
|
140
|
+
|
|
141
|
+
# 2. Create CUDA stub
|
|
142
|
+
echo 'void cuInit() {} void cuDeviceGet() {} void cuCtxCreate_v2() {}' > /tmp/stubs/cuda_stub.c
|
|
143
|
+
zig cc -target $ZIG_TARGET -shared -o /tmp/stubs/libcuda.so /tmp/stubs/cuda_stub.c
|
|
144
|
+
ln -sf libcuda.so /tmp/stubs/libcuda.so.1
|
|
145
|
+
|
|
146
|
+
ls -la /tmp/stubs/
|
|
147
|
+
- uses: actions/setup-python@v5
|
|
148
|
+
with:
|
|
149
|
+
python-version: '3.10'
|
|
150
|
+
- name: Build wheels
|
|
151
|
+
uses: PyO3/maturin-action@v1
|
|
152
|
+
env:
|
|
153
|
+
# Use our clean, architecture-correct stubs exclusively
|
|
154
|
+
RUSTFLAGS: -L /tmp/stubs
|
|
155
|
+
with:
|
|
156
|
+
target: ${{ matrix.target }}
|
|
157
|
+
args: --release --out dist --find-interpreter --features intel_gpu,cuda --zig
|
|
158
|
+
sccache: 'false'
|
|
159
|
+
manylinux: auto
|
|
160
|
+
- name: Upload wheels
|
|
161
|
+
uses: actions/upload-artifact@v4
|
|
162
|
+
with:
|
|
163
|
+
name: wheels-linux-${{ matrix.target }}
|
|
164
|
+
path: dist
|
|
165
|
+
|
|
166
|
+
macos:
|
|
167
|
+
needs: [check]
|
|
168
|
+
runs-on: macos-latest
|
|
169
|
+
strategy:
|
|
170
|
+
fail-fast: true
|
|
171
|
+
matrix:
|
|
172
|
+
target: [x86_64, aarch64]
|
|
173
|
+
steps:
|
|
174
|
+
- uses: actions/checkout@v4
|
|
175
|
+
- name: Cache Rust dependencies
|
|
176
|
+
uses: Swatinem/rust-cache@v2
|
|
177
|
+
with:
|
|
178
|
+
shared-key: "macos-${{ matrix.target }}"
|
|
179
|
+
cache-targets: false
|
|
180
|
+
- name: Update version from tag
|
|
181
|
+
shell: bash
|
|
182
|
+
run: |
|
|
183
|
+
if [[ $GITHUB_REF == refs/tags/v* ]]; then
|
|
184
|
+
export VERSION=${GITHUB_REF#refs/tags/v}
|
|
185
|
+
export CARGO_VERSION=$(echo $VERSION | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)([a-zA-Z])/\1-\2/')
|
|
186
|
+
echo "Bumping versions to $VERSION (Cargo: $CARGO_VERSION)"
|
|
187
|
+
# Only replace the FIRST occurrence in each file
|
|
188
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{CARGO_VERSION}\"/ and $done = 1' Cargo.toml
|
|
189
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{VERSION}\"/ and $done = 1' pyproject.toml
|
|
190
|
+
fi
|
|
191
|
+
- uses: actions/setup-python@v5
|
|
192
|
+
with:
|
|
193
|
+
python-version: '3.10'
|
|
194
|
+
- name: Build wheels
|
|
195
|
+
uses: PyO3/maturin-action@v1
|
|
196
|
+
with:
|
|
197
|
+
target: ${{ matrix.target }}
|
|
198
|
+
args: --release --out dist --find-interpreter --features mps
|
|
199
|
+
sccache: 'false'
|
|
200
|
+
- name: Upload wheels
|
|
201
|
+
uses: actions/upload-artifact@v4
|
|
202
|
+
with:
|
|
203
|
+
name: wheels-macos-${{ matrix.target }}
|
|
204
|
+
path: dist
|
|
205
|
+
|
|
206
|
+
sdist:
|
|
207
|
+
needs: [check]
|
|
208
|
+
runs-on: ubuntu-latest
|
|
209
|
+
steps:
|
|
210
|
+
- uses: actions/checkout@v4
|
|
211
|
+
- name: Update version from tag
|
|
212
|
+
shell: bash
|
|
213
|
+
run: |
|
|
214
|
+
if [[ $GITHUB_REF == refs/tags/v* ]]; then
|
|
215
|
+
export VERSION=${GITHUB_REF#refs/tags/v}
|
|
216
|
+
export CARGO_VERSION=$(echo $VERSION | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)([a-zA-Z])/\1-\2/')
|
|
217
|
+
echo "Bumping versions to $VERSION (Cargo: $CARGO_VERSION)"
|
|
218
|
+
# Only replace the FIRST occurrence in each file
|
|
219
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{CARGO_VERSION}\"/ and $done = 1' Cargo.toml
|
|
220
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{VERSION}\"/ and $done = 1' pyproject.toml
|
|
221
|
+
fi
|
|
222
|
+
- name: Build sdist
|
|
223
|
+
uses: PyO3/maturin-action@v1
|
|
224
|
+
with:
|
|
225
|
+
command: sdist
|
|
226
|
+
args: --out dist
|
|
227
|
+
- name: Upload sdist
|
|
228
|
+
uses: actions/upload-artifact@v4
|
|
229
|
+
with:
|
|
230
|
+
name: wheels-sdist
|
|
231
|
+
path: dist
|
|
232
|
+
|
|
233
|
+
crates-io:
|
|
234
|
+
name: Publish to crates.io
|
|
235
|
+
runs-on: ubuntu-latest
|
|
236
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
237
|
+
needs: [check]
|
|
238
|
+
environment: release_pypi
|
|
239
|
+
steps:
|
|
240
|
+
- uses: actions/checkout@v4
|
|
241
|
+
- name: Install Rust
|
|
242
|
+
uses: dtolnay/rust-toolchain@stable
|
|
243
|
+
- name: Update version from tag
|
|
244
|
+
shell: bash
|
|
245
|
+
run: |
|
|
246
|
+
if [[ $GITHUB_REF == refs/tags/v* ]]; then
|
|
247
|
+
export VERSION=${GITHUB_REF#refs/tags/v}
|
|
248
|
+
export CARGO_VERSION=$(echo $VERSION | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+)([a-zA-Z])/\1-\2/')
|
|
249
|
+
echo "Bumping version to $CARGO_VERSION"
|
|
250
|
+
perl -i -pe '$done or s/^version = \".*\"/version = \"$ENV{CARGO_VERSION}\"/ and $done = 1' Cargo.toml
|
|
251
|
+
fi
|
|
252
|
+
- name: Publish to crates.io
|
|
253
|
+
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --allow-dirty
|
|
254
|
+
env:
|
|
255
|
+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
256
|
+
|
|
257
|
+
release:
|
|
258
|
+
name: Final Release
|
|
259
|
+
runs-on: ubuntu-latest
|
|
260
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
261
|
+
needs: [linux, macos, sdist]
|
|
262
|
+
environment: release_pypi
|
|
263
|
+
steps:
|
|
264
|
+
- uses: actions/download-artifact@v4
|
|
265
|
+
with:
|
|
266
|
+
pattern: wheels-*
|
|
267
|
+
merge-multiple: true
|
|
268
|
+
path: dist
|
|
269
|
+
- name: Publish to PyPI
|
|
270
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
271
|
+
with:
|
|
272
|
+
skip-existing: true
|
|
273
|
+
verbose: true
|
|
274
|
+
- name: Create GitHub Release
|
|
275
|
+
uses: softprops/action-gh-release@v2
|
|
276
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
277
|
+
with:
|
|
278
|
+
files: dist/*
|
|
279
|
+
generate_release_notes: true
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Rust
|
|
2
|
+
target/
|
|
3
|
+
**/*.rs.bk
|
|
4
|
+
|
|
5
|
+
# Python
|
|
6
|
+
__pycache__/
|
|
7
|
+
*.py[cod]
|
|
8
|
+
*$py.class
|
|
9
|
+
.venv/
|
|
10
|
+
.venv_iceberg/
|
|
11
|
+
venv/
|
|
12
|
+
venv_verify/
|
|
13
|
+
test_venv/
|
|
14
|
+
!venv/requirements.txt
|
|
15
|
+
!venv/.gitkeep
|
|
16
|
+
*.egg-info/
|
|
17
|
+
|
|
18
|
+
# IDE
|
|
19
|
+
.vscode/
|
|
20
|
+
.idea/
|
|
21
|
+
.metals/
|
|
22
|
+
.continue/
|
|
23
|
+
|
|
24
|
+
# Compiled Python extension (built by maturin develop)
|
|
25
|
+
python/**/*.so
|
|
26
|
+
python/**/*.pyd
|
|
27
|
+
|
|
28
|
+
# HyperStream Data
|
|
29
|
+
*.parquet
|
|
30
|
+
*.idx
|
|
31
|
+
*.hnsw.graph
|
|
32
|
+
*.hnsw.data
|
|
33
|
+
*.del
|
|
34
|
+
_manifest/
|
|
35
|
+
_metadata/
|
|
36
|
+
|
|
37
|
+
# Local toolchain downloads (Maven/JDK downloaded by build-connectors.sh)
|
|
38
|
+
.java/
|
|
39
|
+
.maven/
|
|
40
|
+
|
|
41
|
+
# Compiled native binaries
|
|
42
|
+
fuzz_murmur3
|
|
43
|
+
debug_murmur3
|
|
44
|
+
test_pgvector_sql_integration
|
|
45
|
+
|
|
46
|
+
# Test database directories
|
|
47
|
+
test_ingestion_perf_db/
|
|
48
|
+
test_lancedb_ingestion_perf_db/
|
|
49
|
+
connector-artifacts/
|
|
50
|
+
dist/
|
|
51
|
+
|
|
52
|
+
# Build and test logs
|
|
53
|
+
*.log
|
|
54
|
+
build_errors*.txt
|
|
55
|
+
check_output.txt
|
|
56
|
+
rust_test_output*.log
|
|
57
|
+
python_test_output*.log
|
|
58
|
+
python_feature_test_output*.log
|
|
59
|
+
test_output*.txt
|
|
60
|
+
lancedb_verification.log
|
|
61
|
+
verification.log
|
|
62
|
+
compliance_run.log
|
|
63
|
+
benchmark_output.log
|
|
64
|
+
build_output.log
|
|
65
|
+
benchmarks/competitive/venv/
|
|
66
|
+
trino-hyperstream/src/main/resources/libhyperstreamdb.so
|
|
67
|
+
spark-hyperstream/src/main/resources/libhyperstreamdb.so
|
|
68
|
+
|
|
69
|
+
# Internal markdown docs (not for public release)
|
|
70
|
+
COMPETITIVE*.md
|
|
71
|
+
COMPETITOR*.md
|
|
72
|
+
COMPLIANCE*.md
|
|
73
|
+
ICEBERG_COMPLIANCE_TASK.md
|
|
74
|
+
IMPLEMENT_FAST_FILTERING.md
|
|
75
|
+
MARKET_REALITY_CHECK.md
|
|
76
|
+
PERFORMANCE_GAP_ANALYSIS.md
|
|
77
|
+
PERFORMANCE_OPTIMIZATION_RAG.md
|
|
78
|
+
PLATFORM_TESTING_SUMMARY.md
|
|
79
|
+
RAG_KILLER_FEATURE.md
|
|
80
|
+
ROADMAP.md
|
|
81
|
+
VISION.md
|
|
82
|
+
GETTING_STARTED.md
|
|
83
|
+
design_*.md
|
|
84
|
+
docs/MONETIZATION_ARCHITECTURE.md
|
|
85
|
+
docs/IN_MEMORY_COMPONENT_ANALYSIS.md
|
|
86
|
+
docs/SUMMARY.md
|
|
87
|
+
benchmarks/competitive/*.md
|
|
88
|
+
benchmarks/competitive/benchmark_results/*.md
|
|
89
|
+
|
|
90
|
+
# Compiled binaries and debug symbols
|
|
91
|
+
*.dylib
|
|
92
|
+
*.dSYM/
|
|
93
|
+
*.so
|
|
94
|
+
*.dll
|
|
95
|
+
*.exe
|
|
96
|
+
python/hyperstreamdb/*.so
|
|
97
|
+
python/hyperstreamdb/*.pyd
|
|
98
|
+
python/hyperstreamdb/*.dylib
|
|
99
|
+
python/hyperstreamdb/*.dSYM/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��ڑ���X�/j�z���eiѺ\4B�y�s�>�Mcc�.��^
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�eq�]X�����~�5|i�H(��gmw3j��?����Ƹ��\.secondary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Β���2��ꘉ����?�I�k���wb���Mn�Uh��L���^���
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�A��iِ&�����aCſmE���$`Г��7�Nh�"��W�#̲��3.secondary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�A��iِ&�����aCſmE���$`Г��7�Nh�"��W�#̲��3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
���W��1��+����}����|�꯳|��W�o�Z��ض�X�̤$v
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
X�$�H:�_:���������B���P���|Wiyn�m������>��
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
����;e�~q}�d!�s��|��S,�;yG�C���:��0�o�+� �L���
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
���
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|�*���֕s���!�m-w�\��F���7':�p�U;�VY�]��fÍ.secondary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Β���2��ꘉ����?�I�k���wb���Mn�Uh��L���^���.secondary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��A�������Le���.R���B������_���@�)X|�
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�=�B{w�N\x��6v��-�:duF��1sII��o����
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
^(��"D8������N�#��n�_�"R*dS���$D�S���@'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
X�$�H:�_:���������B���P���|Wiyn�m������>��.secondary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�eq�]X�����~�5|i�H(��gmw3j��?����Ƹ��\
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�"���qQ-��@"7����rŒ�n��%b3��钧�{�p�,�/u�
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�7m��G����*��݈͡m��_�ǐ醁�;��;ʡ�Ή����V
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�ݪ�ӈR���1i�De�iK-�HM
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
yXR����5�"�u�K��tnD�'Gf�rV�01k�/ܡtABz�U+w
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
� ��7_o��hޡ-�ܻ��]�,��@`��ɚ��sP;N0�]�IW/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|�*���֕s���!�m-w�\��F���7':�p�U;�VY�]��fÍ
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��J���U��ӵ��ϯ���؞���E�,�q�j���x�D��&�D�P
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'�Am8������4Rv$?��q�q����E�Nf����L�_gv�
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�kݙv����?)H{K�ZSՕ����Â�p�)����
|
|
-
z2����H
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
A/AB
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ADz.>v
|