lora-python 0.16.2__tar.gz → 0.17.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.16.2 → lora_python-0.17.0}/Cargo.lock +19 -19
- {lora_python-0.16.2 → lora_python-0.17.0}/Cargo.toml +13 -13
- {lora_python-0.16.2 → lora_python-0.17.0}/PKG-INFO +1 -1
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-builtins-meta/src/lib.rs +1 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/optimizer.rs +55 -1
- lora_python-0.17.0/crates/lora-database/tests/comparison_ordering.rs +134 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/expressions.rs +13 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/temporal_range_index.rs +6 -1
- lora_python-0.17.0/crates/lora-database/tests/with_predicates.rs +117 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/binops.rs +65 -40
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/mod.rs +1 -1
- {lora_python-0.16.2 → lora_python-0.17.0}/pyproject.toml +1 -1
- {lora_python-0.16.2 → lora_python-0.17.0}/LICENSE +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/README.md +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/tests/test_async.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/bindings/lora-python/tests/test_sync.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/clauses.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/expressions.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/state.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/analyzer/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/resolved.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-ast/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-builtins-meta/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/pattern.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/plan_tree.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-compiler/src/planner.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/advanced.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/engine.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/fixtures.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/index_acceleration.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/memory.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/memory_baseline.json +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/perf_smoke.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/query_implementations.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/scale.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/temporal_spatial.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/benches/wal.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/bulk_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/heap_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/keyset_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/optional_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/perf_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/examples/pushdown_probe.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/changes/build.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/changes/history.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/changes/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/builder.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/changes.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/compile.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/execute.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/explain.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/occ.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/procedures.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/profile.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/pull_mode.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/schema.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/show_pipeline.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/stream.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/error.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/io.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/named.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/snapshot/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/snapshot/store.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/stream.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/transaction.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/backend_stub.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/binary.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/call_subquery_writes.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/change_feed.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/cypher_compat.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/docs_examples.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/early_limit.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/empty_ranges.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/explain_estimates.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/foreach.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/fulltext_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/functions_extended.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/index_acceleration.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/invariants.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/managed_snapshots.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/match.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/merge_bound_end.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/null_properties_and_deferred_existence.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/optional_match_correlated.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/order_by_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/order_limit_semantics.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/paths.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/planner_pushdown.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/procedure_yield.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/projection.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/scale.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/schema.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/schema_in_transaction.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/timeouts.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/transactions.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/unknown_names.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/update.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/vector_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/vectors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/wal.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/write_results.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/write_scaling.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/cancel.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/edge.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/index_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/node.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/value.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/expr.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/functions.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/point.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/eval/vector.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/helpers.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/immutable.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/mutable.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/optional.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/aggregate.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/columns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/expand.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/hydration.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/mutable.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/scan.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/source.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/traits.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/src/value.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/csv.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/format.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/json_array.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/jsonl.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/mapping.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-io/src/value_json.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/expressions.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/patterns.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/query.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/schema.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/columnar.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/format.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/intern.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/lock_table.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/chunked_vec.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/constraint_enforce.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/cow.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/fulltext_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/graph.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/hnsw.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/id_set.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/impls.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/index_catalog.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/mem_report.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/point_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/property_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/secondary_index_maintenance.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/snapshot.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/stats.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/text_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/memory/vector_index.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/snapshot.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/traits.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/graph.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/property_map.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/spatial/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/vector/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/vector/similarity.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/src/types/vector/types.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/history.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/lib.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/wal/mod.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/wal/tests.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/src/wal/wal.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/python/lora_python/__init__.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/python/lora_python/_async.py +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.16.2 → lora_python-0.17.0}/python/lora_python/py.typed +0 -0
- {lora_python-0.16.2 → lora_python-0.17.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.17.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.17.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.17.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.17.0"
|
|
803
803
|
|
|
804
804
|
[[package]]
|
|
805
805
|
name = "lora-compiler"
|
|
806
|
-
version = "0.
|
|
806
|
+
version = "0.17.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.17.0"
|
|
816
816
|
dependencies = [
|
|
817
817
|
"anyhow",
|
|
818
818
|
"chacha20poly1305",
|
|
@@ -837,7 +837,7 @@ dependencies = [
|
|
|
837
837
|
|
|
838
838
|
[[package]]
|
|
839
839
|
name = "lora-executor"
|
|
840
|
-
version = "0.
|
|
840
|
+
version = "0.17.0"
|
|
841
841
|
dependencies = [
|
|
842
842
|
"blake3",
|
|
843
843
|
"crc32fast",
|
|
@@ -860,7 +860,7 @@ dependencies = [
|
|
|
860
860
|
|
|
861
861
|
[[package]]
|
|
862
862
|
name = "lora-ffi"
|
|
863
|
-
version = "0.
|
|
863
|
+
version = "0.17.0"
|
|
864
864
|
dependencies = [
|
|
865
865
|
"anyhow",
|
|
866
866
|
"lora-binding-buffer",
|
|
@@ -872,7 +872,7 @@ dependencies = [
|
|
|
872
872
|
|
|
873
873
|
[[package]]
|
|
874
874
|
name = "lora-io"
|
|
875
|
-
version = "0.
|
|
875
|
+
version = "0.17.0"
|
|
876
876
|
dependencies = [
|
|
877
877
|
"lora-executor",
|
|
878
878
|
"lora-store",
|
|
@@ -883,7 +883,7 @@ dependencies = [
|
|
|
883
883
|
|
|
884
884
|
[[package]]
|
|
885
885
|
name = "lora-node"
|
|
886
|
-
version = "0.
|
|
886
|
+
version = "0.17.0"
|
|
887
887
|
dependencies = [
|
|
888
888
|
"anyhow",
|
|
889
889
|
"lora-binding-buffer",
|
|
@@ -898,7 +898,7 @@ dependencies = [
|
|
|
898
898
|
|
|
899
899
|
[[package]]
|
|
900
900
|
name = "lora-parser"
|
|
901
|
-
version = "0.
|
|
901
|
+
version = "0.17.0"
|
|
902
902
|
dependencies = [
|
|
903
903
|
"lora-ast",
|
|
904
904
|
"pest",
|
|
@@ -909,7 +909,7 @@ dependencies = [
|
|
|
909
909
|
|
|
910
910
|
[[package]]
|
|
911
911
|
name = "lora-python"
|
|
912
|
-
version = "0.
|
|
912
|
+
version = "0.17.0"
|
|
913
913
|
dependencies = [
|
|
914
914
|
"anyhow",
|
|
915
915
|
"lora-database",
|
|
@@ -921,7 +921,7 @@ dependencies = [
|
|
|
921
921
|
|
|
922
922
|
[[package]]
|
|
923
923
|
name = "lora-query-wasm"
|
|
924
|
-
version = "0.
|
|
924
|
+
version = "0.17.0"
|
|
925
925
|
dependencies = [
|
|
926
926
|
"console_error_panic_hook",
|
|
927
927
|
"js-sys",
|
|
@@ -935,7 +935,7 @@ dependencies = [
|
|
|
935
935
|
|
|
936
936
|
[[package]]
|
|
937
937
|
name = "lora-server"
|
|
938
|
-
version = "0.
|
|
938
|
+
version = "0.17.0"
|
|
939
939
|
dependencies = [
|
|
940
940
|
"anyhow",
|
|
941
941
|
"axum",
|
|
@@ -950,7 +950,7 @@ dependencies = [
|
|
|
950
950
|
|
|
951
951
|
[[package]]
|
|
952
952
|
name = "lora-snapshot"
|
|
953
|
-
version = "0.
|
|
953
|
+
version = "0.17.0"
|
|
954
954
|
dependencies = [
|
|
955
955
|
"argon2",
|
|
956
956
|
"blake3",
|
|
@@ -965,7 +965,7 @@ dependencies = [
|
|
|
965
965
|
|
|
966
966
|
[[package]]
|
|
967
967
|
name = "lora-store"
|
|
968
|
-
version = "0.
|
|
968
|
+
version = "0.17.0"
|
|
969
969
|
dependencies = [
|
|
970
970
|
"crc32fast",
|
|
971
971
|
"js-sys",
|
|
@@ -979,7 +979,7 @@ dependencies = [
|
|
|
979
979
|
|
|
980
980
|
[[package]]
|
|
981
981
|
name = "lora-wal"
|
|
982
|
-
version = "0.
|
|
982
|
+
version = "0.17.0"
|
|
983
983
|
dependencies = [
|
|
984
984
|
"crc32fast",
|
|
985
985
|
"lora-store",
|
|
@@ -989,7 +989,7 @@ dependencies = [
|
|
|
989
989
|
|
|
990
990
|
[[package]]
|
|
991
991
|
name = "lora-wasm"
|
|
992
|
-
version = "0.
|
|
992
|
+
version = "0.17.0"
|
|
993
993
|
dependencies = [
|
|
994
994
|
"anyhow",
|
|
995
995
|
"console_error_panic_hook",
|
|
@@ -1005,7 +1005,7 @@ dependencies = [
|
|
|
1005
1005
|
|
|
1006
1006
|
[[package]]
|
|
1007
1007
|
name = "lora_ruby"
|
|
1008
|
-
version = "0.
|
|
1008
|
+
version = "0.17.0"
|
|
1009
1009
|
dependencies = [
|
|
1010
1010
|
"anyhow",
|
|
1011
1011
|
"lora-database",
|
|
@@ -4,7 +4,7 @@ resolver = "2"
|
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.17.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.17.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.17.0" }
|
|
20
|
+
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.17.0" }
|
|
21
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.17.0" }
|
|
22
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.17.0" }
|
|
23
|
+
lora-store = { path = "crates/lora-store", version = "=0.17.0" }
|
|
24
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.17.0", default-features = false }
|
|
25
|
+
lora-io = { path = "crates/lora-io", version = "=0.17.0" }
|
|
26
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.17.0" }
|
|
27
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.17.0", default-features = false }
|
|
28
|
+
lora-database = { path = "crates/lora-database", version = "=0.17.0" }
|
|
29
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.17.0" }
|
|
30
30
|
|
|
31
31
|
# External crates.
|
|
32
32
|
anyhow = "1"
|
|
@@ -503,6 +503,7 @@ pub const BUILTIN_ALIASES: &[BuiltinAlias] = &[
|
|
|
503
503
|
alias("range", "list.range"),
|
|
504
504
|
// Cypher / historical compatibility aliases.
|
|
505
505
|
alias("head", "list.first"),
|
|
506
|
+
alias("first", "list.first"),
|
|
506
507
|
alias("last", "list.last"),
|
|
507
508
|
alias("coalesce", "value.coalesce"),
|
|
508
509
|
alias("tolower", "string.lower"),
|
|
@@ -1470,7 +1470,61 @@ fn collect_vars_inner(expr: &ResolvedExpr, out: &mut BTreeSet<VarId>) {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
|
-
|
|
1473
|
+
// A pattern reads the outer variables it names (`(a)<-[:T]-(x)`
|
|
1474
|
+
// reads `a`). Its own fresh variables are collected too: an
|
|
1475
|
+
// over-approximation, which only ever keeps a predicate in place.
|
|
1476
|
+
ResolvedExpr::ExistsSubquery { pattern, where_ } => {
|
|
1477
|
+
collect_pattern_vars(pattern, out);
|
|
1478
|
+
if let Some(w) = where_ {
|
|
1479
|
+
collect_vars_inner(w, out);
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
ResolvedExpr::PatternComprehension {
|
|
1483
|
+
pattern,
|
|
1484
|
+
where_,
|
|
1485
|
+
map_expr,
|
|
1486
|
+
} => {
|
|
1487
|
+
collect_pattern_vars(pattern, out);
|
|
1488
|
+
if let Some(w) = where_ {
|
|
1489
|
+
collect_vars_inner(w, out);
|
|
1490
|
+
}
|
|
1491
|
+
collect_vars_inner(map_expr, out);
|
|
1492
|
+
}
|
|
1493
|
+
ResolvedExpr::Literal(_) | ResolvedExpr::Parameter(_) => {}
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
fn collect_pattern_vars(pattern: &lora_analyzer::ResolvedPattern, out: &mut BTreeSet<VarId>) {
|
|
1498
|
+
use lora_analyzer::{ResolvedNode, ResolvedPatternElement};
|
|
1499
|
+
let node = |n: &ResolvedNode, out: &mut BTreeSet<VarId>| {
|
|
1500
|
+
out.extend(n.var);
|
|
1501
|
+
if let Some(p) = &n.properties {
|
|
1502
|
+
collect_vars_inner(p, out);
|
|
1503
|
+
}
|
|
1504
|
+
};
|
|
1505
|
+
for part in &pattern.parts {
|
|
1506
|
+
out.extend(part.binding);
|
|
1507
|
+
match &part.element {
|
|
1508
|
+
ResolvedPatternElement::Node {
|
|
1509
|
+
var, properties, ..
|
|
1510
|
+
} => {
|
|
1511
|
+
out.extend(*var);
|
|
1512
|
+
if let Some(p) = properties {
|
|
1513
|
+
collect_vars_inner(p, out);
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
ResolvedPatternElement::NodeChain { head, chain }
|
|
1517
|
+
| ResolvedPatternElement::ShortestPath { head, chain, .. } => {
|
|
1518
|
+
node(head, out);
|
|
1519
|
+
for link in chain {
|
|
1520
|
+
out.extend(link.rel.var);
|
|
1521
|
+
if let Some(p) = &link.rel.properties {
|
|
1522
|
+
collect_vars_inner(p, out);
|
|
1523
|
+
}
|
|
1524
|
+
node(&link.node, out);
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1474
1528
|
}
|
|
1475
1529
|
}
|
|
1476
1530
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
//! `<`, `<=`, `>`, `>=` follow Cypher ordering: lists compare element by
|
|
2
|
+
//! element, null or incomparable operands give null (never false), and
|
|
3
|
+
//! integers compare exactly. Regression for the Festimap brief's P0-5:
|
|
4
|
+
//! `[f.name, f.key] > $after` silently matched nothing.
|
|
5
|
+
|
|
6
|
+
mod test_helpers;
|
|
7
|
+
use std::collections::BTreeMap;
|
|
8
|
+
|
|
9
|
+
use lora_database::LoraValue;
|
|
10
|
+
use serde_json::{json, Value};
|
|
11
|
+
use test_helpers::TestDb;
|
|
12
|
+
|
|
13
|
+
fn scalar(q: &str) -> Value {
|
|
14
|
+
TestDb::new().scalar(q)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#[test]
|
|
18
|
+
fn keyset_list_comparison_matches_rows_after_the_cursor() {
|
|
19
|
+
let db = TestDb::new();
|
|
20
|
+
db.run(
|
|
21
|
+
"CREATE (:F {key: 'a', name: 'Tomorrowland'}), (:F {key: 'b', name: 'Awakenings'}), \
|
|
22
|
+
(:F {key: 'c', name: 'Lowlands'}), (:F {key: 'd', name: 'Awakenings'})",
|
|
23
|
+
);
|
|
24
|
+
let mut params = BTreeMap::new();
|
|
25
|
+
params.insert(
|
|
26
|
+
"after".to_string(),
|
|
27
|
+
LoraValue::List(vec![
|
|
28
|
+
LoraValue::String("Awakenings".into()),
|
|
29
|
+
LoraValue::String("b".into()),
|
|
30
|
+
]),
|
|
31
|
+
);
|
|
32
|
+
let rows = db.run_with_params(
|
|
33
|
+
"MATCH (f:F) WHERE [f.name, f.key] > $after RETURN f.key AS k ORDER BY f.name, f.key",
|
|
34
|
+
params,
|
|
35
|
+
);
|
|
36
|
+
let keys: Vec<_> = rows.iter().map(|r| r["k"].clone()).collect();
|
|
37
|
+
assert_eq!(keys, vec![json!("d"), json!("c"), json!("a")]);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#[test]
|
|
41
|
+
fn lists_of_equal_length_compare_lexicographically() {
|
|
42
|
+
assert_eq!(scalar("RETURN [1, 2] < [1, 3]"), json!(true));
|
|
43
|
+
assert_eq!(scalar("RETURN [1, 2] <= [1, 2]"), json!(true));
|
|
44
|
+
assert_eq!(scalar("RETURN [1, 2] > [1, 2]"), json!(false));
|
|
45
|
+
assert_eq!(scalar("RETURN [1, 2] >= [1, 2]"), json!(true));
|
|
46
|
+
assert_eq!(scalar("RETURN [2, 0] > [1, 9]"), json!(true));
|
|
47
|
+
assert_eq!(scalar("RETURN ['b', 'a'] < ['a', 'z']"), json!(false));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#[test]
|
|
51
|
+
fn a_prefix_sorts_before_the_longer_list() {
|
|
52
|
+
assert_eq!(scalar("RETURN [1] < [1, 0]"), json!(true));
|
|
53
|
+
assert_eq!(scalar("RETURN [1, 0] > [1]"), json!(true));
|
|
54
|
+
assert_eq!(scalar("RETURN [] < [1]"), json!(true));
|
|
55
|
+
assert_eq!(scalar("RETURN [] >= []"), json!(true));
|
|
56
|
+
assert_eq!(scalar("RETURN [2] > [1, 5]"), json!(true));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
#[test]
|
|
60
|
+
fn nulls_in_lists_decide_only_when_reached() {
|
|
61
|
+
// The first differing pair decides before the null is reached.
|
|
62
|
+
assert_eq!(scalar("RETURN [1, null] < [2, 0]"), json!(true));
|
|
63
|
+
// A null pair before any difference makes the comparison null.
|
|
64
|
+
assert_eq!(scalar("RETURN [null, 1] < [2, 0]"), Value::Null);
|
|
65
|
+
assert_eq!(scalar("RETURN [1, null] <= [1, 2]"), Value::Null);
|
|
66
|
+
assert_eq!(scalar("RETURN [1, 2] > null"), Value::Null);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
#[test]
|
|
70
|
+
fn nested_lists_compare_recursively() {
|
|
71
|
+
assert_eq!(scalar("RETURN [[1, 2], 3] < [[1, 3], 0]"), json!(true));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#[test]
|
|
75
|
+
fn incomparable_operands_are_null_not_false() {
|
|
76
|
+
assert_eq!(scalar("RETURN 1 < 'a'"), Value::Null);
|
|
77
|
+
assert_eq!(scalar("RETURN [1] < 1"), Value::Null);
|
|
78
|
+
assert_eq!(scalar("RETURN [1, 'a'] < [1, 2]"), Value::Null);
|
|
79
|
+
assert_eq!(
|
|
80
|
+
scalar("RETURN date('2026-01-01') < datetime('2026-01-02T00:00:00Z')"),
|
|
81
|
+
Value::Null
|
|
82
|
+
);
|
|
83
|
+
// So negating one cannot make it true.
|
|
84
|
+
assert_eq!(scalar("RETURN NOT (1 < 'a')"), Value::Null);
|
|
85
|
+
let db = TestDb::new();
|
|
86
|
+
db.run("CREATE (:N {v: 1}), (:N {v: 'x'})");
|
|
87
|
+
// 1 < 'm' is null, so NOT keeps it out; 'x' < 'm' is false, so NOT keeps it.
|
|
88
|
+
assert_eq!(
|
|
89
|
+
db.column("MATCH (n:N) WHERE NOT (n.v < 'm') RETURN n.v AS v", "v"),
|
|
90
|
+
vec![json!("x")]
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#[test]
|
|
95
|
+
fn integers_compare_exactly_above_2_pow_53() {
|
|
96
|
+
assert_eq!(
|
|
97
|
+
scalar("RETURN 9007199254740993 > 9007199254740992"),
|
|
98
|
+
json!(true)
|
|
99
|
+
);
|
|
100
|
+
assert_eq!(
|
|
101
|
+
scalar("RETURN [9007199254740993] > [9007199254740992]"),
|
|
102
|
+
json!(true)
|
|
103
|
+
);
|
|
104
|
+
assert_eq!(
|
|
105
|
+
scalar("RETURN 9007199254740993 > 9007199254740992.0"),
|
|
106
|
+
json!(true)
|
|
107
|
+
);
|
|
108
|
+
assert_eq!(scalar("RETURN 2 > 1.5"), json!(true));
|
|
109
|
+
assert_eq!(scalar("RETURN 1.5 < 2"), json!(true));
|
|
110
|
+
assert_eq!(scalar("RETURN 2 >= 2.0"), json!(true));
|
|
111
|
+
assert_eq!(scalar("RETURN -3 < -2.5"), json!(true));
|
|
112
|
+
assert_eq!(scalar("RETURN 9223372036854775807 < 1e19"), json!(true));
|
|
113
|
+
assert_eq!(scalar("RETURN 1 < 0.0 / 0.0"), Value::Null);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
#[test]
|
|
117
|
+
fn booleans_order_false_before_true() {
|
|
118
|
+
assert_eq!(scalar("RETURN false < true"), json!(true));
|
|
119
|
+
assert_eq!(scalar("RETURN [true, false] > [true, true]"), json!(false));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
#[test]
|
|
123
|
+
fn scalar_comparisons_are_unchanged() {
|
|
124
|
+
assert_eq!(scalar("RETURN 'a' < 'b'"), json!(true));
|
|
125
|
+
assert_eq!(
|
|
126
|
+
scalar("RETURN date('2026-01-01') < date('2026-01-02')"),
|
|
127
|
+
json!(true)
|
|
128
|
+
);
|
|
129
|
+
assert_eq!(
|
|
130
|
+
scalar("RETURN duration('PT1H') < duration('PT2H')"),
|
|
131
|
+
json!(true)
|
|
132
|
+
);
|
|
133
|
+
assert_eq!(scalar("RETURN 1 < null"), Value::Null);
|
|
134
|
+
}
|
|
@@ -329,6 +329,19 @@ fn head_of_empty_list_is_null() {
|
|
|
329
329
|
assert!(TestDb::new().scalar("RETURN list.first([])").is_null());
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
/// `first()` is the standard name the support matrix lists (Festimap brief
|
|
333
|
+
/// P2-2); it was unknown while `head()` worked.
|
|
334
|
+
#[test]
|
|
335
|
+
fn first_is_head() {
|
|
336
|
+
let db = TestDb::new();
|
|
337
|
+
assert_eq!(db.scalar("RETURN first([1, 2])"), 1);
|
|
338
|
+
assert_eq!(db.scalar("RETURN FIRST(['a'])"), "a");
|
|
339
|
+
assert!(db.scalar("RETURN first([])").is_null());
|
|
340
|
+
assert!(db.scalar("RETURN first(null)").is_null());
|
|
341
|
+
db.run("CREATE (:L {xs: [3, 4]})");
|
|
342
|
+
assert_eq!(db.scalar("MATCH (l:L) RETURN first(l.xs)"), 3);
|
|
343
|
+
}
|
|
344
|
+
|
|
332
345
|
// ============================================================
|
|
333
346
|
// Range function
|
|
334
347
|
// ============================================================
|
{lora_python-0.16.2 → lora_python-0.17.0}/crates/lora-database/tests/temporal_range_index.rs
RENAMED
|
@@ -210,10 +210,15 @@ fn comparisons_and_ordering_on_every_temporal_kind() {
|
|
|
210
210
|
"RETURN ('2024-01-01T02:00:00+02:00'::DATETIME) > ('2024-01-01T00:00:00Z'::DATETIME) AS r",
|
|
211
211
|
false,
|
|
212
212
|
),
|
|
213
|
-
("RETURN ('2024-01-01'::DATE) < ('2024-01-02T00:00:00Z'::DATETIME) AS r", false),
|
|
214
213
|
] {
|
|
215
214
|
assert_eq!(db.run(q), vec![json!({ "r": want })], "{q}");
|
|
216
215
|
}
|
|
216
|
+
// Temporals of different kinds do not order against each other: the
|
|
217
|
+
// comparison is null, as in Cypher (tests/comparison_ordering.rs).
|
|
218
|
+
assert_eq!(
|
|
219
|
+
db.run("RETURN ('2024-01-01'::DATE) < ('2024-01-02T00:00:00Z'::DATETIME) AS r"),
|
|
220
|
+
vec![json!({ "r": null })]
|
|
221
|
+
);
|
|
217
222
|
|
|
218
223
|
let rows = db.run(
|
|
219
224
|
"UNWIND [('2024-10-01T00:00'::LOCAL_DATETIME), ('2024-09-01T00:00'::LOCAL_DATETIME), \
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//! A `WITH ... WHERE` predicate that reads a projected variable only inside
|
|
2
|
+
//! a pattern (`size([(a)<-[:T]-(x) | 1]) = 0`, `EXISTS { (a)--() }`) must
|
|
3
|
+
//! stay above the projection that binds the variable. The optimizer's
|
|
4
|
+
//! variable walk skipped patterns, so such a predicate was pushed below the
|
|
5
|
+
//! projection and ran with the variable unbound: the pattern matched every
|
|
6
|
+
//! relationship of the type, the query returned no rows, and it cost a
|
|
7
|
+
//! scan per row (Festimap brief G-11: 0 rows in ~1 s instead of 125 in
|
|
8
|
+
//! 0.5 ms).
|
|
9
|
+
|
|
10
|
+
mod test_helpers;
|
|
11
|
+
|
|
12
|
+
use std::collections::BTreeMap;
|
|
13
|
+
|
|
14
|
+
use lora_database::{LoraValue, PlanTreeNode};
|
|
15
|
+
use serde_json::{json, Value};
|
|
16
|
+
use test_helpers::TestDb;
|
|
17
|
+
|
|
18
|
+
fn graph() -> TestDb {
|
|
19
|
+
let db = TestDb::new();
|
|
20
|
+
db.run("CREATE CONSTRAINT m_key IF NOT EXISTS FOR (n:M) REQUIRE n.key IS UNIQUE");
|
|
21
|
+
db.run(
|
|
22
|
+
"UNWIND range(1, 40) AS i CREATE (m:M {key: toString(i)}) \
|
|
23
|
+
WITH m, i WHERE i % 2 = 0 CREATE (:P)-[:SENT]->(m)",
|
|
24
|
+
);
|
|
25
|
+
db
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
fn keys(db: &TestDb, query: &str) -> Vec<Value> {
|
|
29
|
+
let mut params = BTreeMap::new();
|
|
30
|
+
params.insert(
|
|
31
|
+
"keys".to_string(),
|
|
32
|
+
LoraValue::List((1..=6).map(|i| LoraValue::String(i.to_string())).collect()),
|
|
33
|
+
);
|
|
34
|
+
let mut out: Vec<Value> = db
|
|
35
|
+
.run_with_params(query, params)
|
|
36
|
+
.into_iter()
|
|
37
|
+
.map(|r| r["k"].clone())
|
|
38
|
+
.collect();
|
|
39
|
+
out.sort_by_key(|v| v.as_str().unwrap_or_default().parse::<i64>().unwrap_or(0));
|
|
40
|
+
out
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
fn odd() -> Vec<Value> {
|
|
44
|
+
vec![json!("1"), json!("3"), json!("5")]
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#[test]
|
|
48
|
+
fn pattern_comprehension_after_with_sees_the_projected_variable() {
|
|
49
|
+
let db = graph();
|
|
50
|
+
let written = "UNWIND $keys AS k MATCH (a:M) WHERE a.key = k \
|
|
51
|
+
WITH a WHERE size([(a)<-[:SENT]-(x) WHERE x:P | 1]) = 0 RETURN a.key AS k";
|
|
52
|
+
let bound = "UNWIND $keys AS k MATCH (a:M) WHERE a.key = k \
|
|
53
|
+
WITH a, size([(a)<-[:SENT]-(x) WHERE x:P | 1]) AS c WHERE c = 0 RETURN a.key AS k";
|
|
54
|
+
assert_eq!(keys(&db, written), odd());
|
|
55
|
+
assert_eq!(keys(&db, bound), odd());
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#[test]
|
|
59
|
+
fn without_a_seek_and_with_renames_too() {
|
|
60
|
+
let db = graph();
|
|
61
|
+
assert_eq!(
|
|
62
|
+
keys(
|
|
63
|
+
&db,
|
|
64
|
+
"MATCH (a:M) WHERE a.key IN $keys WITH a WHERE size([(a)<-[:SENT]-() | 1]) = 0 RETURN a.key AS k"
|
|
65
|
+
),
|
|
66
|
+
odd()
|
|
67
|
+
);
|
|
68
|
+
assert_eq!(
|
|
69
|
+
keys(
|
|
70
|
+
&db,
|
|
71
|
+
"MATCH (a:M) WHERE a.key IN $keys WITH a AS b WHERE size([(b)<-[:SENT]-() | 1]) = 0 RETURN b.key AS k"
|
|
72
|
+
),
|
|
73
|
+
odd()
|
|
74
|
+
);
|
|
75
|
+
assert_eq!(
|
|
76
|
+
keys(
|
|
77
|
+
&db,
|
|
78
|
+
"MATCH (a:M) WHERE a.key IN $keys WITH a WHERE NOT EXISTS { (a)<-[:SENT]-() } RETURN a.key AS k"
|
|
79
|
+
),
|
|
80
|
+
odd()
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
fn operators(node: &PlanTreeNode, out: &mut Vec<String>) {
|
|
85
|
+
out.push(node.operator.clone());
|
|
86
|
+
for child in &node.children {
|
|
87
|
+
operators(child, out);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#[test]
|
|
92
|
+
fn the_seek_feeding_the_with_is_kept() {
|
|
93
|
+
let db = graph();
|
|
94
|
+
let plan = db
|
|
95
|
+
.service
|
|
96
|
+
.explain(
|
|
97
|
+
"UNWIND $keys AS k MATCH (a:M) WHERE a.key = k \
|
|
98
|
+
WITH a WHERE size([(a)<-[:SENT]-(x) | 1]) = 0 RETURN a.key AS k",
|
|
99
|
+
None,
|
|
100
|
+
)
|
|
101
|
+
.unwrap();
|
|
102
|
+
let mut ops = Vec::new();
|
|
103
|
+
operators(&plan.tree.root, &mut ops);
|
|
104
|
+
assert!(ops.iter().any(|o| o == "NodeByPropertyScan"), "{ops:?}");
|
|
105
|
+
assert!(!ops.iter().any(|o| o == "NodeScan"), "{ops:?}");
|
|
106
|
+
// RETURN's projection, then the pattern predicate, then the WITH's
|
|
107
|
+
// projection that binds `a`: the predicate stays above it.
|
|
108
|
+
let with_projection = ops
|
|
109
|
+
.iter()
|
|
110
|
+
.enumerate()
|
|
111
|
+
.filter(|(_, o)| *o == "Projection")
|
|
112
|
+
.nth(1)
|
|
113
|
+
.map(|(i, _)| i)
|
|
114
|
+
.unwrap();
|
|
115
|
+
let first_filter = ops.iter().position(|o| o == "Filter").unwrap();
|
|
116
|
+
assert!(first_filter < with_projection, "{ops:?}");
|
|
117
|
+
}
|