lora-python 0.11.5__tar.gz → 0.13.0__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.
- {lora_python-0.11.5 → lora_python-0.13.0}/Cargo.lock +31 -18
- {lora_python-0.11.5 → lora_python-0.13.0}/Cargo.toml +14 -13
- {lora_python-0.11.5 → lora_python-0.13.0}/PKG-INFO +1 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/clauses.rs +5 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/state.rs +15 -2
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/tests.rs +36 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/Cargo.toml +1 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/fixtures.rs +75 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/query_implementations.rs +61 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/procedures.rs +102 -104
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/schema.rs +115 -2
- lora_python-0.13.0/crates/lora-database/src/io.rs +338 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/lib.rs +11 -0
- lora_python-0.13.0/crates/lora-database/tests/vector_index.rs +1222 -0
- lora_python-0.13.0/crates/lora-io/Cargo.toml +23 -0
- lora_python-0.13.0/crates/lora-io/src/csv.rs +1138 -0
- lora_python-0.13.0/crates/lora-io/src/format.rs +259 -0
- lora_python-0.13.0/crates/lora-io/src/json_array.rs +579 -0
- lora_python-0.13.0/crates/lora-io/src/jsonl.rs +379 -0
- lora_python-0.13.0/crates/lora-io/src/lib.rs +33 -0
- lora_python-0.13.0/crates/lora-io/src/mapping.rs +311 -0
- lora_python-0.13.0/crates/lora-io/src/value_json.rs +336 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/Cargo.toml +1 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/columnar.rs +36 -3
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/format.rs +6 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/tests.rs +2 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/lib.rs +1 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/entity_index_store.rs +3 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/graph.rs +146 -22
- lora_python-0.13.0/crates/lora-store/src/memory/hnsw.rs +783 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/impls.rs +33 -2
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/index_catalog.rs +10 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/mod.rs +3 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/point_index.rs +16 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/secondary_index_maintenance.rs +45 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/snapshot.rs +28 -0
- lora_python-0.13.0/crates/lora-store/src/memory/vector_index.rs +489 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/snapshot.rs +8 -1
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/traits.rs +27 -2
- {lora_python-0.11.5 → lora_python-0.13.0}/pyproject.toml +1 -1
- lora_python-0.11.5/crates/lora-database/tests/vector_index.rs +0 -350
- {lora_python-0.11.5 → lora_python-0.13.0}/LICENSE +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/README.md +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/tests/test_async.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/bindings/lora-python/tests/test_sync.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/expressions.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/resolved.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-ast/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-builtins-meta/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-builtins-meta/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/optimizer.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/pattern.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/plan_tree.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-compiler/src/planner.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/advanced.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/engine.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/index_acceleration.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/perf_smoke.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/scale.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/temporal_spatial.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/wal.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/builder.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/compile.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/execute.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/explain.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/occ.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/profile.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/pull_mode.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/show_pipeline.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/stream.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/error.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/named.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/snapshot/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/snapshot/store.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/stream.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/transaction.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/backend_stub.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/binary.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/docs_examples.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/expressions.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/foreach.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/fulltext_index.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/functions_extended.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/index_acceleration.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/invariants.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/managed_snapshots.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/match.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/paths.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/projection.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/scale.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/schema.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/transactions.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/update.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/vectors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/wal.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/binops.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/edge.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/node.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/value.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/expr.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/functions.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/point.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/eval/vector.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/helpers.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/immutable.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/mutable.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/optional.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/aggregate.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/columns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/expand.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/hydration.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/mutable.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/scan.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/source.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/traits.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/src/value.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/expressions.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/patterns.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/query.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/schema.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/lock_table.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/constraint_enforce.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/fulltext_index.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/property_index.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/stats.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/memory/text_index.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/graph.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/spatial/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/vector/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/vector/similarity.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/src/types/vector/types.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/lib.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/wal/mod.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/wal/tests.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/src/wal/wal.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/python/lora_python/__init__.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/python/lora_python/_async.py +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/python/lora_python/py.typed +0 -0
- {lora_python-0.11.5 → lora_python-0.13.0}/python/lora_python/types.py +0 -0
|
@@ -773,7 +773,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
773
773
|
|
|
774
774
|
[[package]]
|
|
775
775
|
name = "lora-analyzer"
|
|
776
|
-
version = "0.
|
|
776
|
+
version = "0.13.0"
|
|
777
777
|
dependencies = [
|
|
778
778
|
"lora-ast",
|
|
779
779
|
"lora-builtins-meta",
|
|
@@ -784,14 +784,14 @@ dependencies = [
|
|
|
784
784
|
|
|
785
785
|
[[package]]
|
|
786
786
|
name = "lora-ast"
|
|
787
|
-
version = "0.
|
|
787
|
+
version = "0.13.0"
|
|
788
788
|
dependencies = [
|
|
789
789
|
"smallvec 2.0.0-alpha.12",
|
|
790
790
|
]
|
|
791
791
|
|
|
792
792
|
[[package]]
|
|
793
793
|
name = "lora-binding-buffer"
|
|
794
|
-
version = "0.
|
|
794
|
+
version = "0.13.0"
|
|
795
795
|
dependencies = [
|
|
796
796
|
"lora-database",
|
|
797
797
|
"lora-store",
|
|
@@ -799,11 +799,11 @@ dependencies = [
|
|
|
799
799
|
|
|
800
800
|
[[package]]
|
|
801
801
|
name = "lora-builtins-meta"
|
|
802
|
-
version = "0.
|
|
802
|
+
version = "0.13.0"
|
|
803
803
|
|
|
804
804
|
[[package]]
|
|
805
805
|
name = "lora-compiler"
|
|
806
|
-
version = "0.
|
|
806
|
+
version = "0.13.0"
|
|
807
807
|
dependencies = [
|
|
808
808
|
"lora-analyzer",
|
|
809
809
|
"lora-ast",
|
|
@@ -812,7 +812,7 @@ dependencies = [
|
|
|
812
812
|
|
|
813
813
|
[[package]]
|
|
814
814
|
name = "lora-database"
|
|
815
|
-
version = "0.
|
|
815
|
+
version = "0.13.0"
|
|
816
816
|
dependencies = [
|
|
817
817
|
"anyhow",
|
|
818
818
|
"chacha20poly1305",
|
|
@@ -824,6 +824,7 @@ dependencies = [
|
|
|
824
824
|
"lora-ast",
|
|
825
825
|
"lora-compiler",
|
|
826
826
|
"lora-executor",
|
|
827
|
+
"lora-io",
|
|
827
828
|
"lora-parser",
|
|
828
829
|
"lora-snapshot",
|
|
829
830
|
"lora-store",
|
|
@@ -836,7 +837,7 @@ dependencies = [
|
|
|
836
837
|
|
|
837
838
|
[[package]]
|
|
838
839
|
name = "lora-executor"
|
|
839
|
-
version = "0.
|
|
840
|
+
version = "0.13.0"
|
|
840
841
|
dependencies = [
|
|
841
842
|
"blake3",
|
|
842
843
|
"crc32fast",
|
|
@@ -859,7 +860,7 @@ dependencies = [
|
|
|
859
860
|
|
|
860
861
|
[[package]]
|
|
861
862
|
name = "lora-ffi"
|
|
862
|
-
version = "0.
|
|
863
|
+
version = "0.13.0"
|
|
863
864
|
dependencies = [
|
|
864
865
|
"anyhow",
|
|
865
866
|
"lora-binding-buffer",
|
|
@@ -869,9 +870,20 @@ dependencies = [
|
|
|
869
870
|
"serde_json",
|
|
870
871
|
]
|
|
871
872
|
|
|
873
|
+
[[package]]
|
|
874
|
+
name = "lora-io"
|
|
875
|
+
version = "0.13.0"
|
|
876
|
+
dependencies = [
|
|
877
|
+
"lora-executor",
|
|
878
|
+
"lora-store",
|
|
879
|
+
"serde",
|
|
880
|
+
"serde_json",
|
|
881
|
+
"thiserror",
|
|
882
|
+
]
|
|
883
|
+
|
|
872
884
|
[[package]]
|
|
873
885
|
name = "lora-node"
|
|
874
|
-
version = "0.
|
|
886
|
+
version = "0.13.0"
|
|
875
887
|
dependencies = [
|
|
876
888
|
"anyhow",
|
|
877
889
|
"lora-binding-buffer",
|
|
@@ -886,7 +898,7 @@ dependencies = [
|
|
|
886
898
|
|
|
887
899
|
[[package]]
|
|
888
900
|
name = "lora-parser"
|
|
889
|
-
version = "0.
|
|
901
|
+
version = "0.13.0"
|
|
890
902
|
dependencies = [
|
|
891
903
|
"lora-ast",
|
|
892
904
|
"pest",
|
|
@@ -897,7 +909,7 @@ dependencies = [
|
|
|
897
909
|
|
|
898
910
|
[[package]]
|
|
899
911
|
name = "lora-python"
|
|
900
|
-
version = "0.
|
|
912
|
+
version = "0.13.0"
|
|
901
913
|
dependencies = [
|
|
902
914
|
"anyhow",
|
|
903
915
|
"lora-database",
|
|
@@ -909,7 +921,7 @@ dependencies = [
|
|
|
909
921
|
|
|
910
922
|
[[package]]
|
|
911
923
|
name = "lora-query-wasm"
|
|
912
|
-
version = "0.
|
|
924
|
+
version = "0.13.0"
|
|
913
925
|
dependencies = [
|
|
914
926
|
"console_error_panic_hook",
|
|
915
927
|
"js-sys",
|
|
@@ -923,7 +935,7 @@ dependencies = [
|
|
|
923
935
|
|
|
924
936
|
[[package]]
|
|
925
937
|
name = "lora-server"
|
|
926
|
-
version = "0.
|
|
938
|
+
version = "0.13.0"
|
|
927
939
|
dependencies = [
|
|
928
940
|
"anyhow",
|
|
929
941
|
"axum",
|
|
@@ -937,7 +949,7 @@ dependencies = [
|
|
|
937
949
|
|
|
938
950
|
[[package]]
|
|
939
951
|
name = "lora-snapshot"
|
|
940
|
-
version = "0.
|
|
952
|
+
version = "0.13.0"
|
|
941
953
|
dependencies = [
|
|
942
954
|
"argon2",
|
|
943
955
|
"blake3",
|
|
@@ -946,12 +958,13 @@ dependencies = [
|
|
|
946
958
|
"getrandom",
|
|
947
959
|
"lora-store",
|
|
948
960
|
"serde",
|
|
961
|
+
"serde_json",
|
|
949
962
|
"thiserror",
|
|
950
963
|
]
|
|
951
964
|
|
|
952
965
|
[[package]]
|
|
953
966
|
name = "lora-store"
|
|
954
|
-
version = "0.
|
|
967
|
+
version = "0.13.0"
|
|
955
968
|
dependencies = [
|
|
956
969
|
"crc32fast",
|
|
957
970
|
"js-sys",
|
|
@@ -962,7 +975,7 @@ dependencies = [
|
|
|
962
975
|
|
|
963
976
|
[[package]]
|
|
964
977
|
name = "lora-wal"
|
|
965
|
-
version = "0.
|
|
978
|
+
version = "0.13.0"
|
|
966
979
|
dependencies = [
|
|
967
980
|
"crc32fast",
|
|
968
981
|
"lora-store",
|
|
@@ -972,7 +985,7 @@ dependencies = [
|
|
|
972
985
|
|
|
973
986
|
[[package]]
|
|
974
987
|
name = "lora-wasm"
|
|
975
|
-
version = "0.
|
|
988
|
+
version = "0.13.0"
|
|
976
989
|
dependencies = [
|
|
977
990
|
"anyhow",
|
|
978
991
|
"console_error_panic_hook",
|
|
@@ -988,7 +1001,7 @@ dependencies = [
|
|
|
988
1001
|
|
|
989
1002
|
[[package]]
|
|
990
1003
|
name = "lora_ruby"
|
|
991
|
-
version = "0.
|
|
1004
|
+
version = "0.13.0"
|
|
992
1005
|
dependencies = [
|
|
993
1006
|
"anyhow",
|
|
994
1007
|
"lora-database",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[workspace]
|
|
2
|
-
members = ["crates/lora-ast", "crates/lora-parser", "crates/lora-builtins-meta", "crates/lora-analyzer", "crates/lora-compiler", "crates/lora-store", "crates/lora-snapshot", "crates/lora-wal", "crates/lora-executor", "crates/lora-database", "crates/bindings/lora-python"]
|
|
2
|
+
members = ["crates/lora-ast", "crates/lora-parser", "crates/lora-builtins-meta", "crates/lora-analyzer", "crates/lora-compiler", "crates/lora-store", "crates/lora-snapshot", "crates/lora-io", "crates/lora-wal", "crates/lora-executor", "crates/lora-database", "crates/bindings/lora-python"]
|
|
3
3
|
resolver = "2"
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.13.0"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,17 +15,18 @@ rust-version = "1.87"
|
|
|
15
15
|
# Internal crates — versions are kept in lockstep with [workspace.package].version
|
|
16
16
|
# by `scripts/sync-versions.mjs`. Both `path` and `version` are set so that
|
|
17
17
|
# `cargo publish` works (crates.io cannot resolve path-only deps).
|
|
18
|
-
lora-ast = { path = "crates/lora-ast", version = "=0.
|
|
19
|
-
lora-parser = { path = "crates/lora-parser", version = "=0.
|
|
20
|
-
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.
|
|
21
|
-
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.
|
|
22
|
-
lora-compiler = { path = "crates/lora-compiler", version = "=0.
|
|
23
|
-
lora-store = { path = "crates/lora-store", version = "=0.
|
|
24
|
-
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.
|
|
25
|
-
lora-
|
|
26
|
-
lora-
|
|
27
|
-
lora-
|
|
28
|
-
lora-
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.13.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.13.0" }
|
|
20
|
+
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.13.0" }
|
|
21
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.13.0" }
|
|
22
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.13.0" }
|
|
23
|
+
lora-store = { path = "crates/lora-store", version = "=0.13.0" }
|
|
24
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.13.0", default-features = false }
|
|
25
|
+
lora-io = { path = "crates/lora-io", version = "=0.13.0" }
|
|
26
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.13.0" }
|
|
27
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.13.0", default-features = false }
|
|
28
|
+
lora-database = { path = "crates/lora-database", version = "=0.13.0" }
|
|
29
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.13.0" }
|
|
29
30
|
|
|
30
31
|
# External crates.
|
|
31
32
|
anyhow = "1"
|
|
@@ -54,6 +54,11 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
54
54
|
pub(super) fn analyze_unwind(&mut self, u: &Unwind) -> Result<ResolvedUnwind, SemanticError> {
|
|
55
55
|
let expr = self.analyze_expr(&u.expr)?;
|
|
56
56
|
let alias = self.declare_fresh_variable(&u.alias.name)?;
|
|
57
|
+
// UNWIND iterates a list — typically `$rows` from a batched
|
|
58
|
+
// import, where each element is a map of arbitrary keys. The
|
|
59
|
+
// analyzer can't know the row shape, so let property access on
|
|
60
|
+
// the alias skip the graph-catalog check.
|
|
61
|
+
self.dynamic_property_vars.insert(alias);
|
|
57
62
|
|
|
58
63
|
Ok(ResolvedUnwind { expr, alias })
|
|
59
64
|
}
|
|
@@ -4,12 +4,18 @@ use lora_ast::{
|
|
|
4
4
|
UpdatingClause,
|
|
5
5
|
};
|
|
6
6
|
use lora_store::GraphCatalog;
|
|
7
|
-
use std::collections::BTreeMap;
|
|
7
|
+
use std::collections::{BTreeMap, BTreeSet};
|
|
8
8
|
|
|
9
9
|
pub struct Analyzer<'a, S: GraphCatalog + ?Sized> {
|
|
10
10
|
pub(super) storage: &'a S,
|
|
11
11
|
pub(super) scopes: ScopeStack,
|
|
12
12
|
pub(super) symbols: SymbolTable,
|
|
13
|
+
/// Variables whose runtime value shape isn't tracked by the analyzer
|
|
14
|
+
/// (UNWIND-bound elements, anything that may legitimately hold a map
|
|
15
|
+
/// or list of maps). Property access on these vars must skip the
|
|
16
|
+
/// graph-catalog check — the caller can't know which keys the data
|
|
17
|
+
/// carries until rows are bound at execution time.
|
|
18
|
+
pub(super) dynamic_property_vars: BTreeSet<VarId>,
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
|
@@ -26,6 +32,7 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
26
32
|
storage,
|
|
27
33
|
scopes: ScopeStack::new(),
|
|
28
34
|
symbols: SymbolTable::default(),
|
|
35
|
+
dynamic_property_vars: BTreeSet::new(),
|
|
29
36
|
}
|
|
30
37
|
}
|
|
31
38
|
|
|
@@ -324,7 +331,13 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
324
331
|
|
|
325
332
|
pub(super) fn property_access_allowed(&self, base: &ResolvedExpr, key: &str) -> bool {
|
|
326
333
|
match base {
|
|
327
|
-
|
|
334
|
+
// Map literals and query parameters carry their own keys —
|
|
335
|
+
// there's nothing in the graph catalog to check against.
|
|
336
|
+
ResolvedExpr::Map(_) | ResolvedExpr::Parameter(_) => true,
|
|
337
|
+
// Variables whose value shape isn't tracked (UNWIND-bound
|
|
338
|
+
// row elements, etc.) — the catalog can't speak to keys on
|
|
339
|
+
// values that come from `$params` at execution time.
|
|
340
|
+
ResolvedExpr::Variable(id) if self.dynamic_property_vars.contains(id) => true,
|
|
328
341
|
_ => {
|
|
329
342
|
self.storage.has_property_key(key)
|
|
330
343
|
|| (self.storage.node_count() == 0 && self.storage.relationship_count() == 0)
|
|
@@ -31,6 +31,42 @@ fn create_allows_new_relationship_type_when_graph_is_not_empty() {
|
|
|
31
31
|
));
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
#[test]
|
|
35
|
+
fn unwind_alias_allows_property_access_with_unknown_keys() {
|
|
36
|
+
// Regression: when the playground import driver runs
|
|
37
|
+
// UNWIND $rows AS r CREATE (:Label {`User Id`: r.`User Id`})
|
|
38
|
+
// against a non-empty graph that has never seen "User Id" as a
|
|
39
|
+
// property key, the analyzer used to reject `r.\`User Id\`` as an
|
|
40
|
+
// unknown property. UNWIND-bound vars hold whatever the parameter
|
|
41
|
+
// payload carries, so property access on them must skip the
|
|
42
|
+
// catalog check.
|
|
43
|
+
let mut graph = InMemoryGraph::new();
|
|
44
|
+
let _ = graph.create_node(vec!["Other".into()], Properties::new());
|
|
45
|
+
|
|
46
|
+
let doc = parse_query(
|
|
47
|
+
"UNWIND $rows AS r CREATE (:People {`User Id`: r.`User Id`, `First Name`: r.`First Name`})",
|
|
48
|
+
)
|
|
49
|
+
.unwrap();
|
|
50
|
+
let mut analyzer = Analyzer::new(&graph);
|
|
51
|
+
analyzer
|
|
52
|
+
.analyze(&doc)
|
|
53
|
+
.expect("UNWIND-bound row variable should allow any property key");
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#[test]
|
|
57
|
+
fn parameter_property_access_allowed_with_unknown_keys() {
|
|
58
|
+
// Parameters are runtime maps the analyzer can't introspect — keys
|
|
59
|
+
// on `$ctx.foo` must not be gated by the graph catalog either.
|
|
60
|
+
let mut graph = InMemoryGraph::new();
|
|
61
|
+
let _ = graph.create_node(vec!["Other".into()], Properties::new());
|
|
62
|
+
|
|
63
|
+
let doc = parse_query("RETURN $ctx.user_id AS u").unwrap();
|
|
64
|
+
let mut analyzer = Analyzer::new(&graph);
|
|
65
|
+
analyzer
|
|
66
|
+
.analyze(&doc)
|
|
67
|
+
.expect("property access on a parameter should skip the catalog check");
|
|
68
|
+
}
|
|
69
|
+
|
|
34
70
|
// --- Vector function analyzer tests ----------------------------------
|
|
35
71
|
|
|
36
72
|
#[test]
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
//! | `build_temporal_graph(n)` | `:Event` / `:FOLLOWS` | Events with date/time properties |
|
|
23
23
|
//! | `build_spatial_graph(n)` | `:Location` / `:CONNECTS_TO` | Locations with point coords |
|
|
24
24
|
//! | `build_recommendation_graph` | `:User`, `:Product` / `:BOUGHT`, etc | Bipartite user-product graph |
|
|
25
|
+
//! | `build_vector_graph(n, d, …)` | `:V` | Vector index k-NN benchmarks |
|
|
25
26
|
|
|
26
27
|
use std::collections::BTreeMap;
|
|
27
28
|
|
|
28
29
|
use lora_database::{Database, ExecuteOptions, InMemoryGraph, LoraValue, ResultFormat};
|
|
30
|
+
use lora_store::{LoraVector, RawCoordinate, VectorCoordinateType};
|
|
29
31
|
|
|
30
32
|
// ---------------------------------------------------------------------------
|
|
31
33
|
// Wrapper (mirrors TestDb from integration tests but without serde_json dep)
|
|
@@ -600,3 +602,76 @@ pub fn build_recommendation_graph(n_users: usize, n_products: usize) -> BenchDb
|
|
|
600
602
|
|
|
601
603
|
db
|
|
602
604
|
}
|
|
605
|
+
|
|
606
|
+
// ---------------------------------------------------------------------------
|
|
607
|
+
// Vector graph builder
|
|
608
|
+
// ---------------------------------------------------------------------------
|
|
609
|
+
|
|
610
|
+
/// Deterministic LCG → f32 in roughly [-1, 1). Stable across platforms,
|
|
611
|
+
/// no external dep. Used to seed vector fixtures so bench numbers are
|
|
612
|
+
/// comparable across runs.
|
|
613
|
+
fn vector_rng(seed: u64) -> impl FnMut() -> f32 {
|
|
614
|
+
let mut state = seed.wrapping_mul(0x9E37_79B9_7F4A_7C15).wrapping_add(1);
|
|
615
|
+
move || {
|
|
616
|
+
state = state
|
|
617
|
+
.wrapping_mul(6364136223846793005)
|
|
618
|
+
.wrapping_add(1442695040888963407);
|
|
619
|
+
let bits = (state >> 32) as u32 as i32;
|
|
620
|
+
bits as f32 / (i32::MAX as f32 + 1.0)
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/// Build a graph of `n` `:V` nodes each carrying a `dim`-dimensional
|
|
625
|
+
/// FLOAT32 vector under property `e`, with a pre-created VECTOR index
|
|
626
|
+
/// `vidx`, similarity function `sim` (`"cosine"` or `"euclidean"`),
|
|
627
|
+
/// and index provider `provider` (`"flat"` or `"hnsw"`).
|
|
628
|
+
///
|
|
629
|
+
/// Vectors are deterministic so the same fixture produces identical
|
|
630
|
+
/// content across runs. Used by `bench_vector_knn` to compare flat
|
|
631
|
+
/// vs HNSW throughput.
|
|
632
|
+
pub fn build_vector_graph(n: usize, dim: usize, sim: &str, provider: &str) -> BenchDb {
|
|
633
|
+
let db = BenchDb::with_capacity_hint(n, 0);
|
|
634
|
+
db.run(&format!(
|
|
635
|
+
"CREATE VECTOR INDEX vidx FOR (v:V) ON (v.e) \
|
|
636
|
+
OPTIONS {{indexConfig: {{ \
|
|
637
|
+
`vector.dimensions`: {dim}, \
|
|
638
|
+
`vector.similarity_function`: '{sim}', \
|
|
639
|
+
`vector.indexProvider`: '{provider}' \
|
|
640
|
+
}}}}",
|
|
641
|
+
));
|
|
642
|
+
|
|
643
|
+
let mut rng = vector_rng(0x5EED);
|
|
644
|
+
// Each vector is dim * 4 bytes stored; intermediate RawCoordinate is
|
|
645
|
+
// 16 bytes per coord. Keep peak per-batch RSS bounded.
|
|
646
|
+
let batch = 1_000usize;
|
|
647
|
+
let mut i = 0usize;
|
|
648
|
+
while i < n {
|
|
649
|
+
let end = (i + batch).min(n);
|
|
650
|
+
let count = end - i;
|
|
651
|
+
let vecs: Vec<LoraValue> = (0..count)
|
|
652
|
+
.map(|_| {
|
|
653
|
+
let coords: Vec<RawCoordinate> = (0..dim)
|
|
654
|
+
.map(|_| RawCoordinate::Float(rng() as f64))
|
|
655
|
+
.collect();
|
|
656
|
+
LoraValue::Vector(
|
|
657
|
+
LoraVector::try_new(coords, dim as i64, VectorCoordinateType::Float32)
|
|
658
|
+
.expect("vector construction"),
|
|
659
|
+
)
|
|
660
|
+
})
|
|
661
|
+
.collect();
|
|
662
|
+
let params = BTreeMap::from([("vecs".to_string(), LoraValue::List(vecs))]);
|
|
663
|
+
db.run_with_params("UNWIND $vecs AS e CREATE (:V {e: e})", params);
|
|
664
|
+
i = end;
|
|
665
|
+
}
|
|
666
|
+
db
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/// A single deterministic query vector with the given seed and dim.
|
|
670
|
+
pub fn build_vector_query(seed: u64, dim: usize) -> LoraVector {
|
|
671
|
+
let mut rng = vector_rng(seed);
|
|
672
|
+
let coords: Vec<RawCoordinate> = (0..dim)
|
|
673
|
+
.map(|_| RawCoordinate::Float(rng() as f64))
|
|
674
|
+
.collect();
|
|
675
|
+
LoraVector::try_new(coords, dim as i64, VectorCoordinateType::Float32)
|
|
676
|
+
.expect("vector construction")
|
|
677
|
+
}
|
{lora_python-0.11.5 → lora_python-0.13.0}/crates/lora-database/benches/query_implementations.rs
RENAMED
|
@@ -595,6 +595,65 @@ fn bench_advanced_query_shapes(c: &mut Criterion) {
|
|
|
595
595
|
group.finish();
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
/// k-NN throughput across providers and scales.
|
|
599
|
+
///
|
|
600
|
+
/// Flat: the Phase 1 baseline — every call scores every vector.
|
|
601
|
+
/// HNSW: the Phase 2 approximate index. d=384 matches a typical
|
|
602
|
+
/// sentence-transformer embedding. The 100k cases dominate total
|
|
603
|
+
/// bench time; restrict with e.g.
|
|
604
|
+
/// `cargo bench -- vector_knn/n_100000_cosine_hnsw` during iteration.
|
|
605
|
+
fn bench_vector_knn(c: &mut Criterion) {
|
|
606
|
+
let mut group = c.benchmark_group("query/vector_knn");
|
|
607
|
+
group.throughput(Throughput::Elements(1));
|
|
608
|
+
// 100k flat is ~50ms per query; 100k HNSW is sub-millisecond.
|
|
609
|
+
// Give criterion enough headroom on both ends without an
|
|
610
|
+
// intolerable suite runtime.
|
|
611
|
+
group.measurement_time(Duration::from_secs(5));
|
|
612
|
+
group.sample_size(20);
|
|
613
|
+
|
|
614
|
+
let dim = 384usize;
|
|
615
|
+
let k = 10usize;
|
|
616
|
+
let query = build_vector_query(0xDEAD_BEEF, dim);
|
|
617
|
+
|
|
618
|
+
// Flat at every scale (baseline curve).
|
|
619
|
+
for &n in &[1_000usize, 10_000, 100_000] {
|
|
620
|
+
for &sim in &["cosine", "euclidean"] {
|
|
621
|
+
let db = build_vector_graph(n, dim, sim, "flat");
|
|
622
|
+
let name = format!("n_{n}_{sim}_flat_k{k}_d{dim}");
|
|
623
|
+
group.bench_function(&name, |b| {
|
|
624
|
+
b.iter(|| {
|
|
625
|
+
let params =
|
|
626
|
+
BTreeMap::from([("q".to_string(), LoraValue::Vector(query.clone()))]);
|
|
627
|
+
run_params(
|
|
628
|
+
&db,
|
|
629
|
+
"CALL db.index.vector.queryNodes('vidx', 10, $q) YIELD node, score",
|
|
630
|
+
params,
|
|
631
|
+
);
|
|
632
|
+
});
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
// HNSW only at scales where the ANN structure pays for its
|
|
638
|
+
// construction cost. n=1k is dominated by procedure overhead and
|
|
639
|
+
// doesn't move on either backend; skip.
|
|
640
|
+
for &n in &[10_000usize, 100_000] {
|
|
641
|
+
let db = build_vector_graph(n, dim, "cosine", "hnsw");
|
|
642
|
+
let name = format!("n_{n}_cosine_hnsw_k{k}_d{dim}");
|
|
643
|
+
group.bench_function(&name, |b| {
|
|
644
|
+
b.iter(|| {
|
|
645
|
+
let params = BTreeMap::from([("q".to_string(), LoraValue::Vector(query.clone()))]);
|
|
646
|
+
run_params(
|
|
647
|
+
&db,
|
|
648
|
+
"CALL db.index.vector.queryNodes('vidx', 10, $q) YIELD node, score",
|
|
649
|
+
params,
|
|
650
|
+
);
|
|
651
|
+
});
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
group.finish();
|
|
655
|
+
}
|
|
656
|
+
|
|
598
657
|
criterion_group! {
|
|
599
658
|
name = benches;
|
|
600
659
|
config = bench_config();
|
|
@@ -606,7 +665,8 @@ criterion_group! {
|
|
|
606
665
|
bench_writes,
|
|
607
666
|
bench_expressions_and_functions,
|
|
608
667
|
bench_typed_values,
|
|
609
|
-
bench_advanced_query_shapes
|
|
668
|
+
bench_advanced_query_shapes,
|
|
669
|
+
bench_vector_knn
|
|
610
670
|
}
|
|
611
671
|
|
|
612
672
|
criterion_main!(benches);
|