lora-python 0.30.0__tar.gz → 0.31.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.30.0 → lora_python-0.31.0}/Cargo.lock +61 -19
- {lora_python-0.30.0 → lora_python-0.31.0}/Cargo.toml +16 -13
- {lora_python-0.30.0 → lora_python-0.31.0}/PKG-INFO +1 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/clauses.rs +10 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/expressions.rs +12 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/patterns.rs +8 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/state.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/resolved.rs +12 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-ast/Cargo.toml +3 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-ast/src/lib.rs +1 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-ast/src/limits.rs +5 -3
- lora_python-0.31.0/crates/lora-ast/src/stack.rs +165 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/lib.rs +25 -4
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/optimizer.rs +23 -0
- lora_python-0.31.0/crates/lora-compiler/src/param_fold.rs +483 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/pattern.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/plan_tree.rs +16 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/planner.rs +8 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/temporal_spatial.rs +17 -0
- lora_python-0.31.0/crates/lora-database/examples/stack_probe.rs +128 -0
- lora_python-0.31.0/crates/lora-database/examples/wal_write_probe.rs +72 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/changes/history.rs +15 -2
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/changes/mod.rs +128 -21
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/builder.rs +34 -5
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/changes.rs +26 -6
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/compile.rs +6 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/execute.rs +110 -18
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/explain.rs +12 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/mod.rs +85 -20
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/occ.rs +18 -7
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/profile.rs +9 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/pull_mode.rs +31 -6
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/schema.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/show_pipeline.rs +12 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/stream.rs +8 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/error.rs +11 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/lib.rs +1 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/named.rs +10 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/snapshot/mod.rs +7 -4
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/snapshot/store.rs +111 -2
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/stream.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/transaction.rs +52 -14
- lora_python-0.31.0/crates/lora-database/src/wal/auto_checkpoint.rs +206 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/mod.rs +1 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/change_feed.rs +107 -0
- lora_python-0.31.0/crates/lora-database/tests/constant_folding.rs +205 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/managed_snapshots.rs +108 -0
- lora_python-0.31.0/crates/lora-database/tests/result_row_cap.rs +211 -0
- lora_python-0.31.0/crates/lora-database/tests/small_stack.rs +67 -0
- lora_python-0.31.0/crates/lora-database/tests/support/deep_queries.rs +426 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/update.rs +79 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/wal.rs +122 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/errors.rs +6 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/mod.rs +13 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/expr.rs +29 -1
- lora_python-0.31.0/crates/lora-executor/src/eval/fold.rs +149 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/mod.rs +5 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/helpers.rs +67 -11
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/immutable.rs +154 -31
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/mod.rs +3 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/mutable.rs +183 -39
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/optional.rs +3 -0
- lora_python-0.31.0/crates/lora-executor/src/executor/row_cap.rs +193 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/lib.rs +1 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/columns.rs +24 -13
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/mutable.rs +9 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/source.rs +41 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/traits.rs +128 -42
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/expressions.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/limits.rs +21 -3
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/mod.rs +11 -7
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/patterns.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/query.rs +4 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/adjacency.rs +153 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/graph.rs +83 -8
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/impls.rs +87 -44
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/tests.rs +213 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/traits.rs +22 -8
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/lib.rs +1 -1
- lora_python-0.31.0/crates/lora-wal/src/wal/group_flusher.rs +144 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/wal/mod.rs +1 -1
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/wal/tests.rs +70 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/wal/wal.rs +152 -5
- {lora_python-0.30.0 → lora_python-0.31.0}/pyproject.toml +1 -1
- lora_python-0.30.0/crates/lora-compiler/src/param_fold.rs +0 -197
- lora_python-0.30.0/crates/lora-wal/src/wal/group_flusher.rs +0 -96
- {lora_python-0.30.0 → lora_python-0.31.0}/LICENSE +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/README.md +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-binding-buffer/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-binding-buffer/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-binding-buffer/src/stream.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/gil.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/stream.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/tests/test_async.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/tests/test_concurrency.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/tests/test_stream_batches.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/bindings/lora-python/tests/test_sync.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/analyzer/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-builtins-meta/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-builtins-meta/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/advanced.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/engine.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/fixtures.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/index_acceleration.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/memory.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/memory_baseline.json +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/perf_smoke.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/query_implementations.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/scale.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/benches/wal.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/bulk_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/carried_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/crash_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/heap_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/keyset_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/optional_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/perf_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/pushdown_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/replay_memory_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/storage_baseline.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/examples/sync_memory_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/changes/build.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/procedures.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/io.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/aggregate_semantics.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/and_or_short_circuit.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/backend_stub.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/bbox_antimeridian.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/binary.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/bit_shifts.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/borrowed_variable_reads.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/builtin_hardening.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/call_subquery_writes.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/carried_value_sharing.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/collect_nulls.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/comparison_ordering.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/cypher_compat.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/deferred_existence_end_state.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/docs_examples.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/early_limit.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/empty_ranges.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/entity_property_values.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/explain_estimates.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/expression_semantics.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/expressions.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/foreach.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/fulltext_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/fulltext_list_properties.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/functions_extended.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/grouping_key_identity.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/id_seek.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/index_acceleration.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/integer_literals.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/invariants.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/limit_skip_counts.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/match.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/merge_bound_end.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/missing_parameters.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/nested_aggregates.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/null_pattern_variables.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/null_properties_and_deferred_existence.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/open_memory.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/optional_match_correlated.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/optional_match_leading.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/order_by_aggregates.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/order_by_grouping_key_parts.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/order_by_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/order_limit_semantics.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/paths.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/pattern_subquery_property_seek.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/pattern_subquery_rel_properties.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/pattern_subquery_scope.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/pattern_subquery_var_length.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/pattern_subquery_where_seek.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/planner_known_parameters.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/planner_pushdown.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/planner_stats.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/point_scan_choice.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/procedure_yield.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/projection.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/query_limits.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/range_scan_bound_intersection.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/range_scan_mixed_numbers.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/range_scan_other_kinds.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/restart_index_state.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/scale.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/schema.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/schema_in_transaction.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/shared_index_value_writes.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/sort_limit_probe.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/starts_with_range_seek.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/statement_atomicity.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/streaming_scans.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/string_number_addition.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/sum_empty.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_constructor_functions.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_constructors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_map_components.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_range_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_strings.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_time_zones.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/temporal_zone_accessors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/timeouts.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/transactions.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/unknown_names.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/var_length_bound_endpoint.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/var_length_hop_ranges.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/vector_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/vectors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/with_predicates.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/write_path_bindings.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/write_results.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-database/tests/write_scaling.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/cancel.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/binops.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/edge.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/fuzz_tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/index_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/node.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/temporal_build.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/value.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/functions.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/point.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/eval/vector.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/limits.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/aggregate.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/expand.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/hydration.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/scan.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/src/value.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/csv.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/format.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/json_array.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/jsonl.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/mapping.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-io/src/value_json.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/schema.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-parser/tests/limits.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/columnar.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/format.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/graph.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/graph_tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/dict.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/encoded.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/intern.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/lib.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/chunked_vec.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/constraint_enforce.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/cow.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/distinct_stats.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/fulltext_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/hnsw.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/id_bitmap.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/id_map.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/id_set.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/index_catalog.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/mem_report.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/model_tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/point_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/property_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/record_slab.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/secondary_index_maintenance.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/snapshot.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/stats.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/test_util.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/text_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/memory/vector_index.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/snapshot.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/graph.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/name.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/property_map.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/bbox.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/spatial/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/temporal/zone.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/vector/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/vector/similarity.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/vector/types.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/types/view.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/src/varint.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/history.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/python/lora_python/__init__.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/python/lora_python/_async.py +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/python/lora_python/py.typed +0 -0
- {lora_python-0.30.0 → lora_python-0.31.0}/python/lora_python/types.py +0 -0
|
@@ -54,6 +54,15 @@ version = "1.0.102"
|
|
|
54
54
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
55
|
checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
|
|
56
56
|
|
|
57
|
+
[[package]]
|
|
58
|
+
name = "ar_archive_writer"
|
|
59
|
+
version = "0.5.3"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "73cd58deff2140a0a8eae87e417bd01db68a33e148aa93d1e8cd837e55e312b6"
|
|
62
|
+
dependencies = [
|
|
63
|
+
"object",
|
|
64
|
+
]
|
|
65
|
+
|
|
57
66
|
[[package]]
|
|
58
67
|
name = "argon2"
|
|
59
68
|
version = "0.5.3"
|
|
@@ -854,7 +863,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
854
863
|
|
|
855
864
|
[[package]]
|
|
856
865
|
name = "lora-analyzer"
|
|
857
|
-
version = "0.
|
|
866
|
+
version = "0.31.0"
|
|
858
867
|
dependencies = [
|
|
859
868
|
"lora-ast",
|
|
860
869
|
"lora-builtins-meta",
|
|
@@ -865,14 +874,15 @@ dependencies = [
|
|
|
865
874
|
|
|
866
875
|
[[package]]
|
|
867
876
|
name = "lora-ast"
|
|
868
|
-
version = "0.
|
|
877
|
+
version = "0.31.0"
|
|
869
878
|
dependencies = [
|
|
870
879
|
"smallvec 2.0.0-alpha.12",
|
|
880
|
+
"stacker",
|
|
871
881
|
]
|
|
872
882
|
|
|
873
883
|
[[package]]
|
|
874
884
|
name = "lora-binding-buffer"
|
|
875
|
-
version = "0.
|
|
885
|
+
version = "0.31.0"
|
|
876
886
|
dependencies = [
|
|
877
887
|
"lora-database",
|
|
878
888
|
"lora-store",
|
|
@@ -880,11 +890,11 @@ dependencies = [
|
|
|
880
890
|
|
|
881
891
|
[[package]]
|
|
882
892
|
name = "lora-builtins-meta"
|
|
883
|
-
version = "0.
|
|
893
|
+
version = "0.31.0"
|
|
884
894
|
|
|
885
895
|
[[package]]
|
|
886
896
|
name = "lora-compiler"
|
|
887
|
-
version = "0.
|
|
897
|
+
version = "0.31.0"
|
|
888
898
|
dependencies = [
|
|
889
899
|
"lora-analyzer",
|
|
890
900
|
"lora-ast",
|
|
@@ -893,7 +903,7 @@ dependencies = [
|
|
|
893
903
|
|
|
894
904
|
[[package]]
|
|
895
905
|
name = "lora-database"
|
|
896
|
-
version = "0.
|
|
906
|
+
version = "0.31.0"
|
|
897
907
|
dependencies = [
|
|
898
908
|
"anyhow",
|
|
899
909
|
"chacha20poly1305",
|
|
@@ -918,7 +928,7 @@ dependencies = [
|
|
|
918
928
|
|
|
919
929
|
[[package]]
|
|
920
930
|
name = "lora-executor"
|
|
921
|
-
version = "0.
|
|
931
|
+
version = "0.31.0"
|
|
922
932
|
dependencies = [
|
|
923
933
|
"blake3",
|
|
924
934
|
"crc32fast",
|
|
@@ -941,7 +951,7 @@ dependencies = [
|
|
|
941
951
|
|
|
942
952
|
[[package]]
|
|
943
953
|
name = "lora-ffi"
|
|
944
|
-
version = "0.
|
|
954
|
+
version = "0.31.0"
|
|
945
955
|
dependencies = [
|
|
946
956
|
"anyhow",
|
|
947
957
|
"lora-binding-buffer",
|
|
@@ -953,7 +963,7 @@ dependencies = [
|
|
|
953
963
|
|
|
954
964
|
[[package]]
|
|
955
965
|
name = "lora-io"
|
|
956
|
-
version = "0.
|
|
966
|
+
version = "0.31.0"
|
|
957
967
|
dependencies = [
|
|
958
968
|
"lora-executor",
|
|
959
969
|
"lora-store",
|
|
@@ -964,7 +974,7 @@ dependencies = [
|
|
|
964
974
|
|
|
965
975
|
[[package]]
|
|
966
976
|
name = "lora-node"
|
|
967
|
-
version = "0.
|
|
977
|
+
version = "0.31.0"
|
|
968
978
|
dependencies = [
|
|
969
979
|
"anyhow",
|
|
970
980
|
"lora-binding-buffer",
|
|
@@ -979,7 +989,7 @@ dependencies = [
|
|
|
979
989
|
|
|
980
990
|
[[package]]
|
|
981
991
|
name = "lora-parser"
|
|
982
|
-
version = "0.
|
|
992
|
+
version = "0.31.0"
|
|
983
993
|
dependencies = [
|
|
984
994
|
"lora-ast",
|
|
985
995
|
"pest",
|
|
@@ -990,7 +1000,7 @@ dependencies = [
|
|
|
990
1000
|
|
|
991
1001
|
[[package]]
|
|
992
1002
|
name = "lora-python"
|
|
993
|
-
version = "0.
|
|
1003
|
+
version = "0.31.0"
|
|
994
1004
|
dependencies = [
|
|
995
1005
|
"anyhow",
|
|
996
1006
|
"lora-binding-buffer",
|
|
@@ -1003,7 +1013,7 @@ dependencies = [
|
|
|
1003
1013
|
|
|
1004
1014
|
[[package]]
|
|
1005
1015
|
name = "lora-query-wasm"
|
|
1006
|
-
version = "0.
|
|
1016
|
+
version = "0.31.0"
|
|
1007
1017
|
dependencies = [
|
|
1008
1018
|
"console_error_panic_hook",
|
|
1009
1019
|
"js-sys",
|
|
@@ -1017,7 +1027,7 @@ dependencies = [
|
|
|
1017
1027
|
|
|
1018
1028
|
[[package]]
|
|
1019
1029
|
name = "lora-server"
|
|
1020
|
-
version = "0.
|
|
1030
|
+
version = "0.31.0"
|
|
1021
1031
|
dependencies = [
|
|
1022
1032
|
"anyhow",
|
|
1023
1033
|
"axum",
|
|
@@ -1034,7 +1044,7 @@ dependencies = [
|
|
|
1034
1044
|
|
|
1035
1045
|
[[package]]
|
|
1036
1046
|
name = "lora-snapshot"
|
|
1037
|
-
version = "0.
|
|
1047
|
+
version = "0.31.0"
|
|
1038
1048
|
dependencies = [
|
|
1039
1049
|
"argon2",
|
|
1040
1050
|
"blake3",
|
|
@@ -1049,7 +1059,7 @@ dependencies = [
|
|
|
1049
1059
|
|
|
1050
1060
|
[[package]]
|
|
1051
1061
|
name = "lora-store"
|
|
1052
|
-
version = "0.
|
|
1062
|
+
version = "0.31.0"
|
|
1053
1063
|
dependencies = [
|
|
1054
1064
|
"crc32fast",
|
|
1055
1065
|
"jiff",
|
|
@@ -1064,7 +1074,7 @@ dependencies = [
|
|
|
1064
1074
|
|
|
1065
1075
|
[[package]]
|
|
1066
1076
|
name = "lora-wal"
|
|
1067
|
-
version = "0.
|
|
1077
|
+
version = "0.31.0"
|
|
1068
1078
|
dependencies = [
|
|
1069
1079
|
"crc32fast",
|
|
1070
1080
|
"lora-store",
|
|
@@ -1075,7 +1085,7 @@ dependencies = [
|
|
|
1075
1085
|
|
|
1076
1086
|
[[package]]
|
|
1077
1087
|
name = "lora-wasm"
|
|
1078
|
-
version = "0.
|
|
1088
|
+
version = "0.31.0"
|
|
1079
1089
|
dependencies = [
|
|
1080
1090
|
"anyhow",
|
|
1081
1091
|
"console_error_panic_hook",
|
|
@@ -1091,7 +1101,7 @@ dependencies = [
|
|
|
1091
1101
|
|
|
1092
1102
|
[[package]]
|
|
1093
1103
|
name = "lora_ruby"
|
|
1094
|
-
version = "0.
|
|
1104
|
+
version = "0.31.0"
|
|
1095
1105
|
dependencies = [
|
|
1096
1106
|
"anyhow",
|
|
1097
1107
|
"lora-database",
|
|
@@ -1259,6 +1269,15 @@ dependencies = [
|
|
|
1259
1269
|
"autocfg",
|
|
1260
1270
|
]
|
|
1261
1271
|
|
|
1272
|
+
[[package]]
|
|
1273
|
+
name = "object"
|
|
1274
|
+
version = "0.39.1"
|
|
1275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1276
|
+
checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b"
|
|
1277
|
+
dependencies = [
|
|
1278
|
+
"memchr",
|
|
1279
|
+
]
|
|
1280
|
+
|
|
1262
1281
|
[[package]]
|
|
1263
1282
|
name = "once_cell"
|
|
1264
1283
|
version = "1.21.3"
|
|
@@ -1422,6 +1441,16 @@ dependencies = [
|
|
|
1422
1441
|
"unicode-ident",
|
|
1423
1442
|
]
|
|
1424
1443
|
|
|
1444
|
+
[[package]]
|
|
1445
|
+
name = "psm"
|
|
1446
|
+
version = "0.1.32"
|
|
1447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1448
|
+
checksum = "4dcd034599e63b970727f70d79e02d62390a4a84f7c6b827c27c46d5ac3fa622"
|
|
1449
|
+
dependencies = [
|
|
1450
|
+
"ar_archive_writer",
|
|
1451
|
+
"cc",
|
|
1452
|
+
]
|
|
1453
|
+
|
|
1425
1454
|
[[package]]
|
|
1426
1455
|
name = "pyo3"
|
|
1427
1456
|
version = "0.22.6"
|
|
@@ -1755,6 +1784,19 @@ dependencies = [
|
|
|
1755
1784
|
"windows-sys",
|
|
1756
1785
|
]
|
|
1757
1786
|
|
|
1787
|
+
[[package]]
|
|
1788
|
+
name = "stacker"
|
|
1789
|
+
version = "0.1.25"
|
|
1790
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1791
|
+
checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967"
|
|
1792
|
+
dependencies = [
|
|
1793
|
+
"cc",
|
|
1794
|
+
"cfg-if",
|
|
1795
|
+
"libc",
|
|
1796
|
+
"psm",
|
|
1797
|
+
"windows-sys",
|
|
1798
|
+
]
|
|
1799
|
+
|
|
1758
1800
|
[[package]]
|
|
1759
1801
|
name = "subtle"
|
|
1760
1802
|
version = "2.6.1"
|
|
@@ -4,7 +4,7 @@ resolver = "2"
|
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.31.0"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,18 +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-io = { path = "crates/lora-io", version = "=0.
|
|
26
|
-
lora-wal = { path = "crates/lora-wal", version = "=0.
|
|
27
|
-
lora-executor = { path = "crates/lora-executor", version = "=0.
|
|
28
|
-
lora-database = { path = "crates/lora-database", version = "=0.
|
|
29
|
-
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.31.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.31.0" }
|
|
20
|
+
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.31.0" }
|
|
21
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.31.0" }
|
|
22
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.31.0" }
|
|
23
|
+
lora-store = { path = "crates/lora-store", version = "=0.31.0" }
|
|
24
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.31.0", default-features = false }
|
|
25
|
+
lora-io = { path = "crates/lora-io", version = "=0.31.0" }
|
|
26
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.31.0" }
|
|
27
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.31.0", default-features = false }
|
|
28
|
+
lora-database = { path = "crates/lora-database", version = "=0.31.0" }
|
|
29
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.31.0" }
|
|
30
30
|
|
|
31
31
|
# External crates.
|
|
32
32
|
anyhow = "1"
|
|
@@ -57,3 +57,6 @@ rayon = "1"
|
|
|
57
57
|
jiff = { version = "0.2.37", default-features = false, features = ["std", "tzdb-bundle-always"] }
|
|
58
58
|
|
|
59
59
|
web-time = "1"
|
|
60
|
+
# Moves deep recursion onto a fresh stack segment when the caller's thread
|
|
61
|
+
# runs low (MIT OR Apache-2.0). Not used on wasm32, where stacks are fixed.
|
|
62
|
+
stacker = "0.1.25"
|
|
@@ -663,6 +663,16 @@ fn lift_aggregates_in(
|
|
|
663
663
|
new_var: &mut dyn FnMut() -> VarId,
|
|
664
664
|
lifted: &mut Vec<ResolvedProjection>,
|
|
665
665
|
span: Span,
|
|
666
|
+
) {
|
|
667
|
+
lora_ast::stack::guard(|| lift_aggregates_in_inner(expr, keys, new_var, lifted, span))
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
fn lift_aggregates_in_inner(
|
|
671
|
+
expr: &mut ResolvedExpr,
|
|
672
|
+
keys: &[(String, VarId)],
|
|
673
|
+
new_var: &mut dyn FnMut() -> VarId,
|
|
674
|
+
lifted: &mut Vec<ResolvedProjection>,
|
|
675
|
+
span: Span,
|
|
666
676
|
) {
|
|
667
677
|
if is_bare_aggregate(expr) {
|
|
668
678
|
let output = new_var();
|
|
@@ -106,6 +106,10 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
pub(super) fn analyze_expr(&mut self, expr: &Expr) -> Result<ResolvedExpr, SemanticError> {
|
|
109
|
+
lora_ast::stack::guard(|| self.analyze_expr_inner(expr))
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
fn analyze_expr_inner(&mut self, expr: &Expr) -> Result<ResolvedExpr, SemanticError> {
|
|
109
113
|
match expr {
|
|
110
114
|
Expr::Variable(v) => {
|
|
111
115
|
let id = self.resolve_required_variable(&v.name)?;
|
|
@@ -446,6 +450,10 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
446
450
|
/// hand it only those bindings without walking the expression per row, and
|
|
447
451
|
/// the WHERE conjuncts it can seek a node by.
|
|
448
452
|
fn fill_subquery_reads(expr: &mut ResolvedExpr) {
|
|
453
|
+
lora_ast::stack::guard(|| fill_subquery_reads_inner(expr))
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
fn fill_subquery_reads_inner(expr: &mut ResolvedExpr) {
|
|
449
457
|
let mut vars = std::collections::BTreeSet::new();
|
|
450
458
|
expr.collect_vars(&mut vars);
|
|
451
459
|
if let ResolvedExpr::ExistsSubquery {
|
|
@@ -687,6 +695,10 @@ fn validate_arity(
|
|
|
687
695
|
|
|
688
696
|
/// Returns true if the resolved expression contains any aggregate function call.
|
|
689
697
|
pub(super) fn expr_contains_aggregate(expr: &ResolvedExpr) -> bool {
|
|
698
|
+
lora_ast::stack::guard(|| expr_contains_aggregate_inner(expr))
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
fn expr_contains_aggregate_inner(expr: &ResolvedExpr) -> bool {
|
|
690
702
|
match expr {
|
|
691
703
|
ResolvedExpr::Function { function, args, .. } => {
|
|
692
704
|
if function.is_aggregate() {
|
|
@@ -87,6 +87,14 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
87
87
|
&mut self,
|
|
88
88
|
el: &PatternElement,
|
|
89
89
|
context: PatternContext,
|
|
90
|
+
) -> Result<ResolvedPatternElement, SemanticError> {
|
|
91
|
+
lora_ast::stack::guard(|| self.analyze_pattern_element_inner(el, context))
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
fn analyze_pattern_element_inner(
|
|
95
|
+
&mut self,
|
|
96
|
+
el: &PatternElement,
|
|
97
|
+
context: PatternContext,
|
|
90
98
|
) -> Result<ResolvedPatternElement, SemanticError> {
|
|
91
99
|
match el {
|
|
92
100
|
PatternElement::NodeChain { head, chain, .. } => {
|
|
@@ -53,6 +53,10 @@ impl<'a, S: GraphCatalog + ?Sized> Analyzer<'a, S> {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
fn analyze_query(&mut self, query: &Query) -> Result<ResolvedQuery, SemanticError> {
|
|
56
|
+
lora_ast::stack::guard(|| self.analyze_query_inner(query))
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
fn analyze_query_inner(&mut self, query: &Query) -> Result<ResolvedQuery, SemanticError> {
|
|
56
60
|
let mut clauses = Vec::new();
|
|
57
61
|
let mut unions = Vec::new();
|
|
58
62
|
|
|
@@ -438,6 +438,10 @@ pub enum LiteralValue {
|
|
|
438
438
|
TypeName(String),
|
|
439
439
|
Bool(bool),
|
|
440
440
|
Null,
|
|
441
|
+
/// A temporal or spatial value the compiler folded from a call on
|
|
442
|
+
/// constant arguments, such as `datetime('2024-01-01T00:00:00Z')`, so
|
|
443
|
+
/// the call is not evaluated again for every row.
|
|
444
|
+
Value(Box<lora_store::PropertyValue>),
|
|
441
445
|
}
|
|
442
446
|
|
|
443
447
|
impl ResolvedExpr {
|
|
@@ -447,6 +451,10 @@ impl ResolvedExpr {
|
|
|
447
451
|
/// caller (it only ever keeps a predicate in place, or a binding in a
|
|
448
452
|
/// row).
|
|
449
453
|
pub fn collect_vars(&self, out: &mut BTreeSet<VarId>) {
|
|
454
|
+
lora_ast::stack::guard(|| self.collect_vars_inner(out))
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
fn collect_vars_inner(&self, out: &mut BTreeSet<VarId>) {
|
|
450
458
|
let expr = self;
|
|
451
459
|
match expr {
|
|
452
460
|
ResolvedExpr::Variable(v) => {
|
|
@@ -583,6 +591,10 @@ impl ResolvedExpr {
|
|
|
583
591
|
/// parents first, including the property maps, WHERE and projection of
|
|
584
592
|
/// pattern subqueries.
|
|
585
593
|
pub fn walk(&self, visit: &mut dyn FnMut(&ResolvedExpr)) {
|
|
594
|
+
lora_ast::stack::guard(|| self.walk_inner(visit))
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
fn walk_inner(&self, visit: &mut dyn FnMut(&ResolvedExpr)) {
|
|
586
598
|
visit(self);
|
|
587
599
|
let mut go = |e: &ResolvedExpr| e.walk(visit);
|
|
588
600
|
match self {
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
//! overflowing the stack (which aborts the whole process) or exhausting
|
|
8
8
|
//! memory.
|
|
9
9
|
//!
|
|
10
|
-
//! The
|
|
11
|
-
//!
|
|
12
|
-
//!
|
|
10
|
+
//! The recursion itself does not depend on the caller's thread stack: each
|
|
11
|
+
//! recursive step runs through [`crate::stack::guard`], which continues on
|
|
12
|
+
//! a fresh stack segment when the thread's stack runs low. On wasm32, where
|
|
13
|
+
//! the stack cannot be switched, the numbers are sized so that a query at
|
|
14
|
+
//! every limit at once still fits the 1 MiB stack wasm builds get. The user
|
|
13
15
|
//! docs list them in `apps/loradb.com/docs/limitations.md`.
|
|
14
16
|
|
|
15
17
|
/// Deepest a list or map value may nest, counting the outermost container
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
//! Stack growth for the recursive walks over queries and values.
|
|
2
|
+
//!
|
|
3
|
+
//! The parser, analyzer, compiler and executor walk queries recursively,
|
|
4
|
+
//! and [`crate::limits`] bounds how deep those walks go. The stack a walk
|
|
5
|
+
//! needs at the limits is more than some host threads have (a 128 KiB musl
|
|
6
|
+
//! thread, a 512 KiB macOS secondary thread), and a stack overflow aborts
|
|
7
|
+
//! the whole process. Every recursive step therefore runs through
|
|
8
|
+
//! [`guard`]: when less than [`RED_ZONE`] bytes of stack are left, the step
|
|
9
|
+
//! continues on a freshly allocated segment (the `stacker` crate), so a
|
|
10
|
+
//! query never overflows whatever stack the caller's thread has. With
|
|
11
|
+
//! enough stack left, a guard costs a thread-local read and a comparison.
|
|
12
|
+
//!
|
|
13
|
+
//! On wasm32 the stack cannot be switched; a guard runs its closure as is
|
|
14
|
+
//! and the limits are sized for the 1 MiB stack wasm builds get.
|
|
15
|
+
|
|
16
|
+
/// Stack a guarded step may use before it reaches the next guard: the
|
|
17
|
+
/// deepest stretch of frames between two guards, plus the value recursion
|
|
18
|
+
/// (at most [`crate::limits::MAX_VALUE_NESTING`] levels) a leaf step may
|
|
19
|
+
/// run. Unoptimised builds use several times more stack per frame.
|
|
20
|
+
pub const RED_ZONE: usize = if cfg!(debug_assertions) {
|
|
21
|
+
4 << 20
|
|
22
|
+
} else {
|
|
23
|
+
512 << 10
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/// Run `f`, on a new stack segment if fewer than [`RED_ZONE`] bytes of the
|
|
27
|
+
/// current one are left.
|
|
28
|
+
#[inline(always)]
|
|
29
|
+
pub fn guard<R>(f: impl FnOnce() -> R) -> R {
|
|
30
|
+
guard_with(RED_ZONE, f)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/// [`guard`] for a step that needs `red_zone` bytes before it reaches its
|
|
34
|
+
/// next guard, such as a call into a generated recursive-descent parser.
|
|
35
|
+
#[inline(always)]
|
|
36
|
+
pub fn guard_with<R>(red_zone: usize, f: impl FnOnce() -> R) -> R {
|
|
37
|
+
#[cfg(not(target_family = "wasm"))]
|
|
38
|
+
{
|
|
39
|
+
native::guard_with(red_zone, f)
|
|
40
|
+
}
|
|
41
|
+
#[cfg(target_family = "wasm")]
|
|
42
|
+
{
|
|
43
|
+
let _ = red_zone;
|
|
44
|
+
f()
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/// Levels a walk descends between two stack checks when it counts its
|
|
49
|
+
/// depth (see [`check_due`]).
|
|
50
|
+
pub const CHECK_INTERVAL: usize = 16;
|
|
51
|
+
|
|
52
|
+
/// Whether a recursive walk at `depth` (counting from 1) should pass
|
|
53
|
+
/// through a [`guard`]: every [`CHECK_INTERVAL`]th level. A walk over a
|
|
54
|
+
/// small plan or expression then never checks; its first levels run inside
|
|
55
|
+
/// the guard of the step that started it. For walks that run once per
|
|
56
|
+
/// query, where a check on every level would add up.
|
|
57
|
+
#[inline(always)]
|
|
58
|
+
pub fn check_due(depth: usize) -> bool {
|
|
59
|
+
depth.is_multiple_of(CHECK_INTERVAL)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/// Set the size of the segments [`guard`] allocates, in bytes; `0`
|
|
63
|
+
/// restores the default (four red zones). Tests shrink it below the red
|
|
64
|
+
/// zone, so a stretch of recursion longer than that between two guards
|
|
65
|
+
/// overflows instead of running on spare segment.
|
|
66
|
+
#[doc(hidden)]
|
|
67
|
+
pub fn set_segment_size(bytes: usize) {
|
|
68
|
+
#[cfg(not(target_family = "wasm"))]
|
|
69
|
+
native::SEGMENT.store(bytes, std::sync::atomic::Ordering::Relaxed);
|
|
70
|
+
#[cfg(target_family = "wasm")]
|
|
71
|
+
let _ = bytes;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#[cfg(not(target_family = "wasm"))]
|
|
75
|
+
mod native {
|
|
76
|
+
use std::cell::Cell;
|
|
77
|
+
use std::sync::atomic::{AtomicUsize, Ordering};
|
|
78
|
+
|
|
79
|
+
use super::RED_ZONE;
|
|
80
|
+
|
|
81
|
+
/// Segment size override; `0` is the default.
|
|
82
|
+
pub(super) static SEGMENT: AtomicUsize = AtomicUsize::new(0);
|
|
83
|
+
|
|
84
|
+
/// Not yet known: high enough that the first guard on a thread takes
|
|
85
|
+
/// the slow path and looks the bound up. Red zones stay far below
|
|
86
|
+
/// 1 GiB, so adding one cannot overflow.
|
|
87
|
+
const UNKNOWN: usize = usize::MAX - (1 << 30);
|
|
88
|
+
|
|
89
|
+
/// No bound can be found on this platform: no stack address is below
|
|
90
|
+
/// it plus a red zone, so guards never grow.
|
|
91
|
+
const UNBOUNDED: usize = 0;
|
|
92
|
+
|
|
93
|
+
thread_local! {
|
|
94
|
+
/// Lowest usable address of the stack this thread runs on now
|
|
95
|
+
/// (stacks grow down on every platform `stacker` supports).
|
|
96
|
+
static LIMIT: Cell<usize> = const { Cell::new(UNKNOWN) };
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/// An address in the caller's frame: close enough to the stack
|
|
100
|
+
/// pointer, as a red zone is far larger than a frame.
|
|
101
|
+
#[inline(always)]
|
|
102
|
+
fn stack_address() -> usize {
|
|
103
|
+
let marker = 0u8;
|
|
104
|
+
std::hint::black_box(&marker) as *const u8 as usize
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
#[inline(always)]
|
|
108
|
+
pub(super) fn guard_with<R>(red_zone: usize, f: impl FnOnce() -> R) -> R {
|
|
109
|
+
let limit = LIMIT.with(Cell::get);
|
|
110
|
+
if stack_address() >= limit + red_zone {
|
|
111
|
+
f()
|
|
112
|
+
} else {
|
|
113
|
+
low(red_zone, f)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/// The stack is low, or this thread's bound is not known yet. Kept
|
|
118
|
+
/// small and out of line: the callers are recursive hot paths.
|
|
119
|
+
#[cold]
|
|
120
|
+
#[inline(never)]
|
|
121
|
+
fn low<R>(red_zone: usize, f: impl FnOnce() -> R) -> R {
|
|
122
|
+
let mut f = Some(f);
|
|
123
|
+
let mut result = None;
|
|
124
|
+
low_dyn(red_zone, &mut || result = f.take().map(|f| f()));
|
|
125
|
+
result.expect("a stack guard's step did not run")
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/// [`low`] without the generics, so it is compiled once.
|
|
129
|
+
fn low_dyn(red_zone: usize, step: &mut dyn FnMut()) {
|
|
130
|
+
let Some(left) = stacker::remaining_stack() else {
|
|
131
|
+
LIMIT.with(|l| l.set(UNBOUNDED));
|
|
132
|
+
return step();
|
|
133
|
+
};
|
|
134
|
+
let limit = stack_address().saturating_sub(left);
|
|
135
|
+
LIMIT.with(|l| l.set(limit));
|
|
136
|
+
if left >= red_zone {
|
|
137
|
+
return step();
|
|
138
|
+
}
|
|
139
|
+
let segment = match SEGMENT.load(Ordering::Relaxed) {
|
|
140
|
+
0 => 4 * red_zone.max(RED_ZONE),
|
|
141
|
+
// A test override: the extra a larger red zone asks for on top.
|
|
142
|
+
bytes => bytes + red_zone.saturating_sub(RED_ZONE),
|
|
143
|
+
};
|
|
144
|
+
stacker::grow(segment, || {
|
|
145
|
+
// `stacker` knows the new segment's bound; take it over, and
|
|
146
|
+
// put the old one back when the step returns to the old stack.
|
|
147
|
+
let segment_limit = stacker::remaining_stack()
|
|
148
|
+
.map_or(UNBOUNDED, |left| stack_address().saturating_sub(left));
|
|
149
|
+
let restore = Restore(limit);
|
|
150
|
+
LIMIT.with(|l| l.set(segment_limit));
|
|
151
|
+
step();
|
|
152
|
+
drop(restore);
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/// Puts a thread's previous stack bound back, also when a panic
|
|
157
|
+
/// unwinds out of a grown segment.
|
|
158
|
+
struct Restore(usize);
|
|
159
|
+
|
|
160
|
+
impl Drop for Restore {
|
|
161
|
+
fn drop(&mut self) {
|
|
162
|
+
LIMIT.with(|l| l.set(self.0));
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -17,7 +17,7 @@ pub use logical::{
|
|
|
17
17
|
Remove, Set, Sort, SortLimit, TextPredicate, Unwind,
|
|
18
18
|
};
|
|
19
19
|
pub use optimizer::Optimizer;
|
|
20
|
-
pub use param_fold::NullnessOf;
|
|
20
|
+
pub use param_fold::{FoldCall, NullnessOf};
|
|
21
21
|
pub use physical::{
|
|
22
22
|
ArgumentExec, CreateExec, DeleteExec, ExpandExec, FilterExec, ForeachExec, HashAggregationExec,
|
|
23
23
|
LimitExec, MergeExec, NodeByIdSeekExec, NodeByLabelScanExec, NodeByPointScanExec,
|
|
@@ -83,9 +83,22 @@ impl Compiler {
|
|
|
83
83
|
query: &ResolvedQuery,
|
|
84
84
|
stats: &GraphStats,
|
|
85
85
|
nullness: NullnessOf<'_>,
|
|
86
|
+
) -> CompiledQuery {
|
|
87
|
+
Self::compile_folding(query, stats, nullness, &|_, _| None)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/// [`Self::compile_for`] that also replaces each builtin call on
|
|
91
|
+
/// constant arguments with the value `fold` evaluates it to, so the
|
|
92
|
+
/// call does not run again for every row. `fold` declines what it
|
|
93
|
+
/// cannot evaluate safely at plan time; see [`FoldCall`].
|
|
94
|
+
pub fn compile_folding(
|
|
95
|
+
query: &ResolvedQuery,
|
|
96
|
+
stats: &GraphStats,
|
|
97
|
+
nullness: NullnessOf<'_>,
|
|
98
|
+
fold: FoldCall<'_>,
|
|
86
99
|
) -> CompiledQuery {
|
|
87
100
|
let mut null_params = std::collections::BTreeMap::new();
|
|
88
|
-
let physical = compile_physical(query, stats, nullness, &mut null_params);
|
|
101
|
+
let physical = compile_physical(query, stats, nullness, fold, &mut null_params);
|
|
89
102
|
let unions = query
|
|
90
103
|
.unions
|
|
91
104
|
.iter()
|
|
@@ -97,7 +110,13 @@ impl Compiler {
|
|
|
97
110
|
};
|
|
98
111
|
CompiledUnionBranch {
|
|
99
112
|
all: union_part.all,
|
|
100
|
-
physical: compile_physical(
|
|
113
|
+
physical: compile_physical(
|
|
114
|
+
&branch_query,
|
|
115
|
+
stats,
|
|
116
|
+
nullness,
|
|
117
|
+
fold,
|
|
118
|
+
&mut null_params,
|
|
119
|
+
),
|
|
101
120
|
}
|
|
102
121
|
})
|
|
103
122
|
.collect();
|
|
@@ -115,6 +134,7 @@ fn compile_physical(
|
|
|
115
134
|
query: &ResolvedQuery,
|
|
116
135
|
stats: &GraphStats,
|
|
117
136
|
nullness: NullnessOf<'_>,
|
|
137
|
+
fold: FoldCall<'_>,
|
|
118
138
|
null_params: &mut std::collections::BTreeMap<String, Option<bool>>,
|
|
119
139
|
) -> PhysicalPlan {
|
|
120
140
|
let mut planner = Planner::with_stats(stats);
|
|
@@ -122,7 +142,8 @@ fn compile_physical(
|
|
|
122
142
|
param_fold::fold_parameter_null_tests(&mut logical, nullness, null_params);
|
|
123
143
|
|
|
124
144
|
let mut optimizer = Optimizer::new();
|
|
125
|
-
let optimized = optimizer.optimize(logical, stats);
|
|
145
|
+
let mut optimized = optimizer.optimize(logical, stats);
|
|
146
|
+
param_fold::fold_constant_calls(&mut optimized, fold);
|
|
126
147
|
|
|
127
148
|
// Lower by moving the logical plan; it is not needed after lowering.
|
|
128
149
|
optimizer.lower_to_physical(optimized)
|