lora-python 0.22.0__tar.gz → 0.22.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. {lora_python-0.22.0 → lora_python-0.22.1}/Cargo.lock +19 -19
  2. {lora_python-0.22.0 → lora_python-0.22.1}/Cargo.toml +13 -13
  3. {lora_python-0.22.0 → lora_python-0.22.1}/PKG-INFO +1 -1
  4. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/error.rs +2 -0
  5. lora_python-0.22.1/crates/lora-database/tests/grouping_key_identity.rs +424 -0
  6. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/errors.rs +8 -0
  7. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/aggregation.rs +19 -38
  8. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/immutable.rs +1 -7
  9. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/mutable.rs +78 -31
  10. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/aggregate.rs +1 -3
  11. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/mod.rs +2 -2
  12. {lora_python-0.22.0 → lora_python-0.22.1}/pyproject.toml +1 -1
  13. {lora_python-0.22.0 → lora_python-0.22.1}/LICENSE +0 -0
  14. {lora_python-0.22.0 → lora_python-0.22.1}/README.md +0 -0
  15. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-binding-buffer/Cargo.toml +0 -0
  16. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-binding-buffer/src/lib.rs +0 -0
  17. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-binding-buffer/src/stream.rs +0 -0
  18. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/.gitignore +0 -0
  19. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/Cargo.toml +0 -0
  20. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/LICENSE +0 -0
  21. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/README.md +0 -0
  22. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/build.rs +0 -0
  23. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/examples/async_demo.py +0 -0
  24. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/examples/basic.py +0 -0
  25. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/errors.rs +0 -0
  26. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/from_python.rs +0 -0
  27. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/gil.rs +0 -0
  28. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/lib.rs +0 -0
  29. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/stream.rs +0 -0
  30. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/src/to_python.rs +0 -0
  31. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/tests/test_async.py +0 -0
  32. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/tests/test_concurrency.py +0 -0
  33. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
  34. {lora_python-0.22.0 → lora_python-0.22.1}/crates/bindings/lora-python/tests/test_sync.py +0 -0
  35. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/Cargo.toml +0 -0
  36. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
  37. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/clauses.rs +0 -0
  38. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/expressions.rs +0 -0
  39. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
  40. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
  41. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/state.rs +0 -0
  42. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/analyzer/tests.rs +0 -0
  43. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/errors.rs +0 -0
  44. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/lib.rs +0 -0
  45. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/resolved.rs +0 -0
  46. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/scope.rs +0 -0
  47. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/src/symbols.rs +0 -0
  48. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-analyzer/tests/error_messages.rs +0 -0
  49. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-ast/Cargo.toml +0 -0
  50. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-ast/src/ast.rs +0 -0
  51. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-ast/src/lib.rs +0 -0
  52. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-builtins-meta/Cargo.toml +0 -0
  53. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-builtins-meta/src/lib.rs +0 -0
  54. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/Cargo.toml +0 -0
  55. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/lib.rs +0 -0
  56. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/logical.rs +0 -0
  57. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/optimizer.rs +0 -0
  58. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/pattern.rs +0 -0
  59. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/physical.rs +0 -0
  60. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/plan_tree.rs +0 -0
  61. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-compiler/src/planner.rs +0 -0
  62. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/Cargo.toml +0 -0
  63. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/README.md +0 -0
  64. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/advanced.rs +0 -0
  65. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/concurrency_guard.rs +0 -0
  66. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/concurrent.rs +0 -0
  67. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/engine.rs +0 -0
  68. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/fixtures.rs +0 -0
  69. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/index_acceleration.rs +0 -0
  70. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/memory.rs +0 -0
  71. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/memory_baseline.json +0 -0
  72. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/perf_smoke.rs +0 -0
  73. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
  74. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/query_implementations.rs +0 -0
  75. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/realistic.rs +0 -0
  76. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/scale.rs +0 -0
  77. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/temporal_spatial.rs +0 -0
  78. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/benches/wal.rs +0 -0
  79. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/bulk_probe.rs +0 -0
  80. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/carried_probe.rs +0 -0
  81. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/heap_probe.rs +0 -0
  82. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/keyset_probe.rs +0 -0
  83. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/optional_probe.rs +0 -0
  84. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/perf_probe.rs +0 -0
  85. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/examples/pushdown_probe.rs +0 -0
  86. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/changes/build.rs +0 -0
  87. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/changes/history.rs +0 -0
  88. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/changes/mod.rs +0 -0
  89. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/builder.rs +0 -0
  90. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/changes.rs +0 -0
  91. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/compile.rs +0 -0
  92. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/execute.rs +0 -0
  93. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/explain.rs +0 -0
  94. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/graph_api.rs +0 -0
  95. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/mod.rs +0 -0
  96. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/occ.rs +0 -0
  97. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/procedures.rs +0 -0
  98. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/profile.rs +0 -0
  99. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/pull_mode.rs +0 -0
  100. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/replay.rs +0 -0
  101. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/row_projection.rs +0 -0
  102. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/schema.rs +0 -0
  103. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/show_pipeline.rs +0 -0
  104. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/stream.rs +0 -0
  105. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/database/write_guard.rs +0 -0
  106. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/durable_io.rs +0 -0
  107. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/explain.rs +0 -0
  108. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/io.rs +0 -0
  109. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/lib.rs +0 -0
  110. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/live_store.rs +0 -0
  111. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/named.rs +0 -0
  112. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/plan_cache.rs +0 -0
  113. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/snapshot/json.rs +0 -0
  114. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/snapshot/mod.rs +0 -0
  115. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/snapshot/store.rs +0 -0
  116. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/stream.rs +0 -0
  117. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/transaction.rs +0 -0
  118. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/admin.rs +0 -0
  119. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive/format.rs +0 -0
  120. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive/lock.rs +0 -0
  121. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive/platform.rs +0 -0
  122. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive/worker.rs +0 -0
  123. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
  124. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/archive.rs +0 -0
  125. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/mod.rs +0 -0
  126. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/src/wal/write_scope.rs +0 -0
  127. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/advanced_queries.rs +0 -0
  128. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/aggregation.rs +0 -0
  129. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/and_or_short_circuit.rs +0 -0
  130. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/backend_stub.rs +0 -0
  131. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/bbox_antimeridian.rs +0 -0
  132. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/binary.rs +0 -0
  133. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/borrowed_variable_reads.rs +0 -0
  134. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
  135. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/call_subquery_writes.rs +0 -0
  136. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/carried_value_sharing.rs +0 -0
  137. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/change_feed.rs +0 -0
  138. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/comparison_ordering.rs +0 -0
  139. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/constraints.rs +0 -0
  140. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/create.rs +0 -0
  141. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/cypher_compat.rs +0 -0
  142. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/docs_examples.rs +0 -0
  143. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/early_limit.rs +0 -0
  144. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/empty_ranges.rs +0 -0
  145. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/error_messages.rs +0 -0
  146. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/errors.rs +0 -0
  147. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/explain_estimates.rs +0 -0
  148. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/explain_profile.rs +0 -0
  149. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/expressions.rs +0 -0
  150. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/foreach.rs +0 -0
  151. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/fulltext_index.rs +0 -0
  152. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/fulltext_list_properties.rs +0 -0
  153. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/functions_extended.rs +0 -0
  154. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/index_acceleration.rs +0 -0
  155. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/invariants.rs +0 -0
  156. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/limit_skip_counts.rs +0 -0
  157. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/managed_snapshots.rs +0 -0
  158. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/match.rs +0 -0
  159. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/merge.rs +0 -0
  160. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/merge_bound_end.rs +0 -0
  161. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/null_properties_and_deferred_existence.rs +0 -0
  162. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/optional_match_correlated.rs +0 -0
  163. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/order_by_index.rs +0 -0
  164. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/order_limit_semantics.rs +0 -0
  165. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/ordering.rs +0 -0
  166. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/parameters.rs +0 -0
  167. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/parser.rs +0 -0
  168. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/paths.rs +0 -0
  169. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/pattern_subquery_property_seek.rs +0 -0
  170. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/pattern_subquery_rel_properties.rs +0 -0
  171. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/pattern_subquery_scope.rs +0 -0
  172. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/pattern_subquery_var_length.rs +0 -0
  173. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/planner_pushdown.rs +0 -0
  174. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/procedure_yield.rs +0 -0
  175. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/projection.rs +0 -0
  176. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/range_scan_other_kinds.rs +0 -0
  177. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/scale.rs +0 -0
  178. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/schema.rs +0 -0
  179. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/schema_in_transaction.rs +0 -0
  180. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/seeds.rs +0 -0
  181. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/shared_index_value_writes.rs +0 -0
  182. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/snapshot.rs +0 -0
  183. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/sort_limit_probe.rs +0 -0
  184. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/spatial.rs +0 -0
  185. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/starts_with_range_seek.rs +0 -0
  186. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/string_number_addition.rs +0 -0
  187. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal.rs +0 -0
  188. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_constructor_functions.rs +0 -0
  189. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_constructors.rs +0 -0
  190. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_map_components.rs +0 -0
  191. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_range_index.rs +0 -0
  192. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_strings.rs +0 -0
  193. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_time_zones.rs +0 -0
  194. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/temporal_zone_accessors.rs +0 -0
  195. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/test_helpers.rs +0 -0
  196. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/timeouts.rs +0 -0
  197. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/transactions.rs +0 -0
  198. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/types_advanced.rs +0 -0
  199. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/union.rs +0 -0
  200. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/unknown_names.rs +0 -0
  201. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
  202. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/update.rs +0 -0
  203. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/var_length_bound_endpoint.rs +0 -0
  204. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/var_length_hop_ranges.rs +0 -0
  205. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/vector_index.rs +0 -0
  206. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/vectors.rs +0 -0
  207. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/wal.rs +0 -0
  208. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/where_clause.rs +0 -0
  209. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/with.rs +0 -0
  210. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/with_predicates.rs +0 -0
  211. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/write_results.rs +0 -0
  212. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-database/tests/write_scaling.rs +0 -0
  213. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/Cargo.toml +0 -0
  214. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/cancel.rs +0 -0
  215. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/binops.rs +0 -0
  216. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
  217. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
  218. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
  219. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
  220. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/edge.rs +0 -0
  221. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
  222. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/index_ns.rs +0 -0
  223. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
  224. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
  225. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
  226. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
  227. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/mod.rs +0 -0
  228. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/node.rs +0 -0
  229. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
  230. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
  231. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
  232. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
  233. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/temporal_build.rs +0 -0
  234. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
  235. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
  236. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
  237. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/value.rs +0 -0
  238. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
  239. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/errors.rs +0 -0
  240. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/expr.rs +0 -0
  241. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/functions.rs +0 -0
  242. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/mod.rs +0 -0
  243. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/point.rs +0 -0
  244. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/regex.rs +0 -0
  245. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/eval/vector.rs +0 -0
  246. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/helpers.rs +0 -0
  247. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/mod.rs +0 -0
  248. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/optional.rs +0 -0
  249. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/executor/sort.rs +0 -0
  250. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/lib.rs +0 -0
  251. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/profile.rs +0 -0
  252. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
  253. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/columns.rs +0 -0
  254. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/context.rs +0 -0
  255. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/expand.rs +0 -0
  256. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/filter.rs +0 -0
  257. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/hydration.rs +0 -0
  258. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/mutable.rs +0 -0
  259. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/optional.rs +0 -0
  260. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/path.rs +0 -0
  261. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/projection.rs +0 -0
  262. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/scan.rs +0 -0
  263. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/shape.rs +0 -0
  264. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/sort.rs +0 -0
  265. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/source.rs +0 -0
  266. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/tests.rs +0 -0
  267. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/traits.rs +0 -0
  268. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/pull/union.rs +0 -0
  269. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/src/value.rs +0 -0
  270. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-executor/tests/error_messages.rs +0 -0
  271. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/Cargo.toml +0 -0
  272. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/csv.rs +0 -0
  273. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/format.rs +0 -0
  274. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/json_array.rs +0 -0
  275. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/jsonl.rs +0 -0
  276. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/lib.rs +0 -0
  277. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/mapping.rs +0 -0
  278. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-io/src/value_json.rs +0 -0
  279. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/Cargo.toml +0 -0
  280. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/cypher.pest +0 -0
  281. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/errors.rs +0 -0
  282. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/lib.rs +0 -0
  283. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/clauses.rs +0 -0
  284. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/expressions.rs +0 -0
  285. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/literals.rs +0 -0
  286. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/mod.rs +0 -0
  287. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/patterns.rs +0 -0
  288. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/query.rs +0 -0
  289. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/schema.rs +0 -0
  290. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/tests.rs +0 -0
  291. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/src/parser/util.rs +0 -0
  292. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-parser/tests/error_messages.rs +0 -0
  293. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/Cargo.toml +0 -0
  294. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/body.rs +0 -0
  295. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/codec.rs +0 -0
  296. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/columnar.rs +0 -0
  297. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/envelope.rs +0 -0
  298. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/errors.rs +0 -0
  299. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/format.rs +0 -0
  300. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/lib.rs +0 -0
  301. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/options.rs +0 -0
  302. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/tests.rs +0 -0
  303. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/transform.rs +0 -0
  304. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/src/view.rs +0 -0
  305. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-snapshot/tests/error_messages.rs +0 -0
  306. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/Cargo.toml +0 -0
  307. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/codec.rs +0 -0
  308. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/intern.rs +0 -0
  309. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/lib.rs +0 -0
  310. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/lock_table.rs +0 -0
  311. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/chunked_vec.rs +0 -0
  312. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
  313. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/constraint_enforce.rs +0 -0
  314. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/cow.rs +0 -0
  315. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
  316. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/fulltext_index.rs +0 -0
  317. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/graph.rs +0 -0
  318. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/hnsw.rs +0 -0
  319. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/id_set.rs +0 -0
  320. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/impls.rs +0 -0
  321. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/index_catalog.rs +0 -0
  322. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/mem_report.rs +0 -0
  323. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/mod.rs +0 -0
  324. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/point_index.rs +0 -0
  325. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/property_index.rs +0 -0
  326. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/secondary_index_maintenance.rs +0 -0
  327. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/snapshot.rs +0 -0
  328. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
  329. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/stats.rs +0 -0
  330. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/tests.rs +0 -0
  331. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/text_index.rs +0 -0
  332. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/memory/vector_index.rs +0 -0
  333. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/mutation.rs +0 -0
  334. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/snapshot.rs +0 -0
  335. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/traits.rs +0 -0
  336. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/binary/mod.rs +0 -0
  337. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/binary/tests.rs +0 -0
  338. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/binary/traits.rs +0 -0
  339. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/binary/types.rs +0 -0
  340. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/graph.rs +0 -0
  341. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/mod.rs +0 -0
  342. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/property_map.rs +0 -0
  343. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/property_value.rs +0 -0
  344. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/bbox.rs +0 -0
  345. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/distance.rs +0 -0
  346. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/mod.rs +0 -0
  347. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/point.rs +0 -0
  348. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/srid.rs +0 -0
  349. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/spatial/tests.rs +0 -0
  350. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
  351. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/date.rs +0 -0
  352. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
  353. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/duration.rs +0 -0
  354. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/format.rs +0 -0
  355. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/mod.rs +0 -0
  356. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
  357. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/time.rs +0 -0
  358. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/temporal/zone.rs +0 -0
  359. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/vector/build.rs +0 -0
  360. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/vector/mod.rs +0 -0
  361. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/vector/similarity.rs +0 -0
  362. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/vector/tests.rs +0 -0
  363. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/src/types/vector/types.rs +0 -0
  364. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-store/tests/error_messages.rs +0 -0
  365. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/Cargo.toml +0 -0
  366. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/codec/decode.rs +0 -0
  367. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/codec/encode.rs +0 -0
  368. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/codec/format.rs +0 -0
  369. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/codec/mod.rs +0 -0
  370. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/codec/tests.rs +0 -0
  371. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/config.rs +0 -0
  372. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/dir.rs +0 -0
  373. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/errors.rs +0 -0
  374. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/history.rs +0 -0
  375. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/io.rs +0 -0
  376. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/lib.rs +0 -0
  377. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/lock.rs +0 -0
  378. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/lsn.rs +0 -0
  379. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/record.rs +0 -0
  380. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/recorder/errors.rs +0 -0
  381. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/recorder/mirror.rs +0 -0
  382. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/recorder/mod.rs +0 -0
  383. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/recorder/recorder.rs +0 -0
  384. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/recorder/tests.rs +0 -0
  385. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/replay.rs +0 -0
  386. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/segment.rs +0 -0
  387. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/testing.rs +0 -0
  388. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
  389. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/wal/mod.rs +0 -0
  390. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/wal/tests.rs +0 -0
  391. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/src/wal/wal.rs +0 -0
  392. {lora_python-0.22.0 → lora_python-0.22.1}/crates/lora-wal/tests/error_messages.rs +0 -0
  393. {lora_python-0.22.0 → lora_python-0.22.1}/python/lora_python/__init__.py +0 -0
  394. {lora_python-0.22.0 → lora_python-0.22.1}/python/lora_python/_async.py +0 -0
  395. {lora_python-0.22.0 → lora_python-0.22.1}/python/lora_python/_native.pyi +0 -0
  396. {lora_python-0.22.0 → lora_python-0.22.1}/python/lora_python/py.typed +0 -0
  397. {lora_python-0.22.0 → lora_python-0.22.1}/python/lora_python/types.py +0 -0
@@ -854,7 +854,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
854
854
 
855
855
  [[package]]
856
856
  name = "lora-analyzer"
857
- version = "0.22.0"
857
+ version = "0.22.1"
858
858
  dependencies = [
859
859
  "lora-ast",
860
860
  "lora-builtins-meta",
@@ -865,14 +865,14 @@ dependencies = [
865
865
 
866
866
  [[package]]
867
867
  name = "lora-ast"
868
- version = "0.22.0"
868
+ version = "0.22.1"
869
869
  dependencies = [
870
870
  "smallvec 2.0.0-alpha.12",
871
871
  ]
872
872
 
873
873
  [[package]]
874
874
  name = "lora-binding-buffer"
875
- version = "0.22.0"
875
+ version = "0.22.1"
876
876
  dependencies = [
877
877
  "lora-database",
878
878
  "lora-store",
@@ -880,11 +880,11 @@ dependencies = [
880
880
 
881
881
  [[package]]
882
882
  name = "lora-builtins-meta"
883
- version = "0.22.0"
883
+ version = "0.22.1"
884
884
 
885
885
  [[package]]
886
886
  name = "lora-compiler"
887
- version = "0.22.0"
887
+ version = "0.22.1"
888
888
  dependencies = [
889
889
  "lora-analyzer",
890
890
  "lora-ast",
@@ -893,7 +893,7 @@ dependencies = [
893
893
 
894
894
  [[package]]
895
895
  name = "lora-database"
896
- version = "0.22.0"
896
+ version = "0.22.1"
897
897
  dependencies = [
898
898
  "anyhow",
899
899
  "chacha20poly1305",
@@ -918,7 +918,7 @@ dependencies = [
918
918
 
919
919
  [[package]]
920
920
  name = "lora-executor"
921
- version = "0.22.0"
921
+ version = "0.22.1"
922
922
  dependencies = [
923
923
  "blake3",
924
924
  "crc32fast",
@@ -941,7 +941,7 @@ dependencies = [
941
941
 
942
942
  [[package]]
943
943
  name = "lora-ffi"
944
- version = "0.22.0"
944
+ version = "0.22.1"
945
945
  dependencies = [
946
946
  "anyhow",
947
947
  "lora-binding-buffer",
@@ -953,7 +953,7 @@ dependencies = [
953
953
 
954
954
  [[package]]
955
955
  name = "lora-io"
956
- version = "0.22.0"
956
+ version = "0.22.1"
957
957
  dependencies = [
958
958
  "lora-executor",
959
959
  "lora-store",
@@ -964,7 +964,7 @@ dependencies = [
964
964
 
965
965
  [[package]]
966
966
  name = "lora-node"
967
- version = "0.22.0"
967
+ version = "0.22.1"
968
968
  dependencies = [
969
969
  "anyhow",
970
970
  "lora-binding-buffer",
@@ -979,7 +979,7 @@ dependencies = [
979
979
 
980
980
  [[package]]
981
981
  name = "lora-parser"
982
- version = "0.22.0"
982
+ version = "0.22.1"
983
983
  dependencies = [
984
984
  "lora-ast",
985
985
  "pest",
@@ -990,7 +990,7 @@ dependencies = [
990
990
 
991
991
  [[package]]
992
992
  name = "lora-python"
993
- version = "0.22.0"
993
+ version = "0.22.1"
994
994
  dependencies = [
995
995
  "anyhow",
996
996
  "lora-binding-buffer",
@@ -1003,7 +1003,7 @@ dependencies = [
1003
1003
 
1004
1004
  [[package]]
1005
1005
  name = "lora-query-wasm"
1006
- version = "0.22.0"
1006
+ version = "0.22.1"
1007
1007
  dependencies = [
1008
1008
  "console_error_panic_hook",
1009
1009
  "js-sys",
@@ -1017,7 +1017,7 @@ dependencies = [
1017
1017
 
1018
1018
  [[package]]
1019
1019
  name = "lora-server"
1020
- version = "0.22.0"
1020
+ version = "0.22.1"
1021
1021
  dependencies = [
1022
1022
  "anyhow",
1023
1023
  "axum",
@@ -1032,7 +1032,7 @@ dependencies = [
1032
1032
 
1033
1033
  [[package]]
1034
1034
  name = "lora-snapshot"
1035
- version = "0.22.0"
1035
+ version = "0.22.1"
1036
1036
  dependencies = [
1037
1037
  "argon2",
1038
1038
  "blake3",
@@ -1047,7 +1047,7 @@ dependencies = [
1047
1047
 
1048
1048
  [[package]]
1049
1049
  name = "lora-store"
1050
- version = "0.22.0"
1050
+ version = "0.22.1"
1051
1051
  dependencies = [
1052
1052
  "crc32fast",
1053
1053
  "jiff",
@@ -1062,7 +1062,7 @@ dependencies = [
1062
1062
 
1063
1063
  [[package]]
1064
1064
  name = "lora-wal"
1065
- version = "0.22.0"
1065
+ version = "0.22.1"
1066
1066
  dependencies = [
1067
1067
  "crc32fast",
1068
1068
  "lora-store",
@@ -1072,7 +1072,7 @@ dependencies = [
1072
1072
 
1073
1073
  [[package]]
1074
1074
  name = "lora-wasm"
1075
- version = "0.22.0"
1075
+ version = "0.22.1"
1076
1076
  dependencies = [
1077
1077
  "anyhow",
1078
1078
  "console_error_panic_hook",
@@ -1088,7 +1088,7 @@ dependencies = [
1088
1088
 
1089
1089
  [[package]]
1090
1090
  name = "lora_ruby"
1091
- version = "0.22.0"
1091
+ version = "0.22.1"
1092
1092
  dependencies = [
1093
1093
  "anyhow",
1094
1094
  "lora-database",
@@ -4,7 +4,7 @@ resolver = "2"
4
4
 
5
5
  [workspace.package]
6
6
  edition = "2021"
7
- version = "0.22.0"
7
+ version = "0.22.1"
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.22.0" }
19
- lora-parser = { path = "crates/lora-parser", version = "=0.22.0" }
20
- lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.22.0" }
21
- lora-analyzer = { path = "crates/lora-analyzer", version = "=0.22.0" }
22
- lora-compiler = { path = "crates/lora-compiler", version = "=0.22.0" }
23
- lora-store = { path = "crates/lora-store", version = "=0.22.0" }
24
- lora-snapshot = { path = "crates/lora-snapshot", version = "=0.22.0", default-features = false }
25
- lora-io = { path = "crates/lora-io", version = "=0.22.0" }
26
- lora-wal = { path = "crates/lora-wal", version = "=0.22.0" }
27
- lora-executor = { path = "crates/lora-executor", version = "=0.22.0", default-features = false }
28
- lora-database = { path = "crates/lora-database", version = "=0.22.0" }
29
- lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.22.0" }
18
+ lora-ast = { path = "crates/lora-ast", version = "=0.22.1" }
19
+ lora-parser = { path = "crates/lora-parser", version = "=0.22.1" }
20
+ lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.22.1" }
21
+ lora-analyzer = { path = "crates/lora-analyzer", version = "=0.22.1" }
22
+ lora-compiler = { path = "crates/lora-compiler", version = "=0.22.1" }
23
+ lora-store = { path = "crates/lora-store", version = "=0.22.1" }
24
+ lora-snapshot = { path = "crates/lora-snapshot", version = "=0.22.1", default-features = false }
25
+ lora-io = { path = "crates/lora-io", version = "=0.22.1" }
26
+ lora-wal = { path = "crates/lora-wal", version = "=0.22.1" }
27
+ lora-executor = { path = "crates/lora-executor", version = "=0.22.1", default-features = false }
28
+ lora-database = { path = "crates/lora-database", version = "=0.22.1" }
29
+ lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.22.1" }
30
30
 
31
31
  # External crates.
32
32
  anyhow = "1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lora-python
3
- Version: 0.22.0
3
+ Version: 0.22.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.8
@@ -377,6 +377,8 @@ fn executor_code(err: &ExecutorError) -> LoraErrorCode {
377
377
  ExecutorError::NodeCreateFailed => LoraErrorCode::Internal,
378
378
  ExecutorError::RuntimeError(message) => validation_message_code(message),
379
379
  ExecutorError::ExpectedNodeForExpand { .. }
380
+ | ExecutorError::ExpectedNodeForCreate { .. }
381
+ | ExecutorError::ExpectedRelationshipForCreate { .. }
380
382
  | ExecutorError::ExpectedPropertyMap { .. }
381
383
  | ExecutorError::GroupByNotLowered
382
384
  | ExecutorError::AggregateNotLowered
@@ -0,0 +1,424 @@
1
+ //! A node or relationship carried through an aggregation as a grouping key
2
+ //! keeps its identity.
3
+ //!
4
+ //! `WITH u, count(*) AS c` used to emit `u` as the hydrated output map
5
+ //! `{id, kind, labels, properties}` instead of a node reference. Every
6
+ //! downstream clause then saw a map: `CREATE (u)-[:R]->(f)` silently made a
7
+ //! fresh blank node for `u`, `MATCH (u)-->(x)` / `SET` / `DELETE` errored,
8
+ //! and `id(u)`, `u:U`, `type(r)` and `u = n` went null or false — while
9
+ //! `u.k` and `RETURN u` still looked right. Nodes nested inside a list or
10
+ //! map grouping key were hit the same way.
11
+ //!
12
+ //! Each case runs through the buffered executors (a `ReadWrite`
13
+ //! transaction's `execute_rows`), the pull pipeline (`Database::stream`)
14
+ //! and the default `Database::execute`, with a fold-only aggregate
15
+ //! (`count`, the streaming-fold path) and a buffered one (`collect`).
16
+ //!
17
+ //! Separately: a variable bound to a non-node value in a node position of
18
+ //! `CREATE` / `MERGE` is an error, never a fresh node.
19
+
20
+ mod test_helpers;
21
+
22
+ use lora_database::{Database, ExecuteOptions, InMemoryGraph, ResultFormat, Row, TransactionMode};
23
+ use serde_json::{json, Value as JsonValue};
24
+ use test_helpers::TestDb;
25
+
26
+ #[derive(Clone, Copy, Debug)]
27
+ enum Path {
28
+ /// `Database::execute`.
29
+ Execute,
30
+ /// `Database::stream` — the pull pipeline.
31
+ Stream,
32
+ /// `Transaction::execute_rows` in a `ReadWrite` transaction — the
33
+ /// buffered executors.
34
+ Tx,
35
+ }
36
+
37
+ const PATHS: [Path; 3] = [Path::Execute, Path::Stream, Path::Tx];
38
+
39
+ fn rows_json(rows: Vec<Row>) -> Vec<JsonValue> {
40
+ rows.into_iter()
41
+ .map(|row| serde_json::to_value(row).unwrap())
42
+ .collect()
43
+ }
44
+
45
+ fn run_on(db: &Database<InMemoryGraph>, path: Path, query: &str) -> Result<Vec<JsonValue>, String> {
46
+ match path {
47
+ Path::Execute => {
48
+ let result = db
49
+ .execute(
50
+ query,
51
+ Some(ExecuteOptions {
52
+ format: ResultFormat::Rows,
53
+ }),
54
+ )
55
+ .map_err(|e| e.to_string())?;
56
+ let json = serde_json::to_value(result).unwrap();
57
+ Ok(json
58
+ .get("rows")
59
+ .and_then(JsonValue::as_array)
60
+ .cloned()
61
+ .unwrap_or_default())
62
+ }
63
+ Path::Stream => {
64
+ let mut stream = db.stream(query).map_err(|e| e.to_string())?;
65
+ let mut rows = Vec::new();
66
+ while let Some(row) = stream.next_row().map_err(|e| e.to_string())? {
67
+ rows.push(row);
68
+ }
69
+ stream.finish().map_err(|e| e.to_string())?;
70
+ Ok(rows_json(rows))
71
+ }
72
+ Path::Tx => {
73
+ let mut tx = db
74
+ .begin_transaction(TransactionMode::ReadWrite)
75
+ .map_err(|e| e.to_string())?;
76
+ let rows = tx.execute_rows(query).map_err(|e| e.to_string())?;
77
+ tx.commit().map_err(|e| e.to_string())?;
78
+ Ok(rows_json(rows))
79
+ }
80
+ }
81
+ }
82
+
83
+ const SEED: &str = "CREATE (:U {k: 1})-[:R0 {w: 7}]->(:X {k: 2}), (:F {k: 3})";
84
+
85
+ fn seeded() -> TestDb {
86
+ let db = TestDb::new();
87
+ db.run(SEED);
88
+ db
89
+ }
90
+
91
+ /// The single value of column `v`.
92
+ fn v(db: &TestDb, query: &str) -> JsonValue {
93
+ db.scalar(query)
94
+ }
95
+
96
+ /// Prefixes that leave `u` bound to the `:U` node after an aggregation,
97
+ /// as `(name, cypher)`.
98
+ const NODE_PREFIXES: &[(&str, &str)] = &[
99
+ ("node key, count", "MATCH (u:U) WITH u, count(*) AS c"),
100
+ (
101
+ "node key, collect",
102
+ "MATCH (u:U)-[:R0]->(x) WITH u, collect(x) AS xs",
103
+ ),
104
+ (
105
+ "list key, count",
106
+ "MATCH (a:U) WITH collect(a) AS us WITH us, count(*) AS c WITH us[0] AS u",
107
+ ),
108
+ (
109
+ "list key, collect",
110
+ "MATCH (a:U) WITH collect(a) AS us MATCH (b:F) \
111
+ WITH us, collect(b) AS fs WITH us[0] AS u",
112
+ ),
113
+ (
114
+ "map key, count",
115
+ "MATCH (u0:U) WITH {n: u0} AS m, count(*) AS c WITH m.n AS u",
116
+ ),
117
+ (
118
+ "map key, collect",
119
+ "MATCH (u0:U)-[:R0]->(x) WITH {n: u0} AS m, collect(x) AS xs WITH m.n AS u",
120
+ ),
121
+ ];
122
+
123
+ /// Prefixes that leave `r` bound to the `:R0` relationship after an
124
+ /// aggregation.
125
+ const REL_PREFIXES: &[(&str, &str)] = &[
126
+ (
127
+ "rel key, count",
128
+ "MATCH ()-[r:R0]->() WITH r, count(*) AS c",
129
+ ),
130
+ (
131
+ "rel key, collect",
132
+ "MATCH ()-[r:R0]->(b) WITH r, collect(b) AS bs",
133
+ ),
134
+ (
135
+ "rel list key, count",
136
+ "MATCH ()-[r0:R0]->() WITH collect(r0) AS rs WITH rs, count(*) AS c WITH rs[0] AS r",
137
+ ),
138
+ (
139
+ "rel map key, collect",
140
+ "MATCH ()-[r0:R0]->(b) WITH {r: r0} AS m, collect(b) AS bs WITH m.r AS r",
141
+ ),
142
+ ];
143
+
144
+ /// Run `prefix + suffix` on a fresh seeded graph through every path, then
145
+ /// check the graph with `checks` (`(query, expected v)`).
146
+ fn assert_write(prefix: &str, name: &str, suffix: &str, checks: &[(&str, JsonValue)]) {
147
+ for path in PATHS {
148
+ let db = seeded();
149
+ let query = format!("{prefix} {suffix}");
150
+ run_on(&db.service, path, &query)
151
+ .unwrap_or_else(|e| panic!("[{name} / {path:?}] `{query}` failed: {e}"));
152
+ for (check, expected) in checks {
153
+ assert_eq!(
154
+ &v(&db, check),
155
+ expected,
156
+ "[{name} / {path:?}] after `{query}`, `{check}`"
157
+ );
158
+ }
159
+ }
160
+ }
161
+
162
+ /// Run `prefix + suffix` (a read) through every path and expect one row
163
+ /// whose `v` equals `expected`.
164
+ fn assert_read(prefix: &str, name: &str, suffix: &str, expected: JsonValue) {
165
+ let db = seeded();
166
+ for path in PATHS {
167
+ let query = format!("{prefix} {suffix}");
168
+ let rows = run_on(&db.service, path, &query)
169
+ .unwrap_or_else(|e| panic!("[{name} / {path:?}] `{query}` failed: {e}"));
170
+ assert_eq!(
171
+ rows.len(),
172
+ 1,
173
+ "[{name} / {path:?}] `{query}` rows: {rows:?}"
174
+ );
175
+ assert_eq!(
176
+ rows[0].get("v"),
177
+ Some(&expected),
178
+ "[{name} / {path:?}] `{query}`"
179
+ );
180
+ }
181
+ }
182
+
183
+ const ATTACHED: &str = "MATCH (:U {k: 1})-[:R]->(:F {k: 3}) RETURN count(*) AS v";
184
+ const NODES: &str = "MATCH (n) RETURN count(n) AS v";
185
+
186
+ #[test]
187
+ fn create_after_grouping_attaches_to_the_grouped_node() {
188
+ for (name, prefix) in NODE_PREFIXES {
189
+ assert_write(
190
+ prefix,
191
+ name,
192
+ "MATCH (f:F) CREATE (u)-[:R]->(f)",
193
+ &[(NODES, json!(3)), (ATTACHED, json!(1))],
194
+ );
195
+ }
196
+ }
197
+
198
+ #[test]
199
+ fn merge_after_grouping_attaches_to_the_grouped_node() {
200
+ for (name, prefix) in NODE_PREFIXES {
201
+ assert_write(
202
+ prefix,
203
+ name,
204
+ "MATCH (f:F) MERGE (u)-[:R]->(f)",
205
+ &[(NODES, json!(3)), (ATTACHED, json!(1))],
206
+ );
207
+ }
208
+ }
209
+
210
+ #[test]
211
+ fn set_after_grouping_updates_the_grouped_node() {
212
+ for (name, prefix) in NODE_PREFIXES {
213
+ assert_write(
214
+ prefix,
215
+ name,
216
+ "SET u.x = 1, u:Seen",
217
+ &[
218
+ ("MATCH (n:U) RETURN n.x AS v", json!(1)),
219
+ ("MATCH (n:Seen) RETURN count(n) AS v", json!(1)),
220
+ ],
221
+ );
222
+ }
223
+ }
224
+
225
+ #[test]
226
+ fn detach_delete_after_grouping_deletes_the_grouped_node() {
227
+ for (name, prefix) in NODE_PREFIXES {
228
+ assert_write(
229
+ prefix,
230
+ name,
231
+ "DETACH DELETE u",
232
+ &[
233
+ ("MATCH (n:U) RETURN count(n) AS v", json!(0)),
234
+ (NODES, json!(2)),
235
+ ],
236
+ );
237
+ }
238
+ }
239
+
240
+ #[test]
241
+ fn expand_after_grouping_starts_from_the_grouped_node() {
242
+ for (name, prefix) in NODE_PREFIXES {
243
+ assert_read(
244
+ prefix,
245
+ name,
246
+ "MATCH (u)-[:R0]->(y) RETURN y.k AS v",
247
+ json!(2),
248
+ );
249
+ }
250
+ }
251
+
252
+ #[test]
253
+ fn identity_functions_after_grouping_see_the_node() {
254
+ for (name, prefix) in NODE_PREFIXES {
255
+ assert_read(
256
+ prefix,
257
+ name,
258
+ "MATCH (n:U) RETURN id(u) = id(n) AND u:U AND labels(u) = ['U'] AND u = n \
259
+ AND u.k = 1 AS v",
260
+ json!(true),
261
+ );
262
+ }
263
+ }
264
+
265
+ #[test]
266
+ fn returning_the_grouped_node_still_hydrates() {
267
+ for (name, prefix) in NODE_PREFIXES {
268
+ assert_read(prefix, name, "RETURN u.k AS v", json!(1));
269
+ let db = seeded();
270
+ for path in PATHS {
271
+ let rows = run_on(&db.service, path, &format!("{prefix} RETURN u AS v")).unwrap();
272
+ let node = rows[0].get("v").unwrap();
273
+ assert_eq!(node["labels"], json!(["U"]), "[{name} / {path:?}] {node}");
274
+ assert_eq!(
275
+ node["properties"]["k"],
276
+ json!(1),
277
+ "[{name} / {path:?}] {node}"
278
+ );
279
+ }
280
+ }
281
+ }
282
+
283
+ #[test]
284
+ fn grouping_by_node_still_groups_by_entity() {
285
+ let db = TestDb::new();
286
+ db.run("CREATE (a:U {k: 1}), (b:U {k: 1}), (a)-[:T]->(:X), (a)-[:T]->(:X), (b)-[:T]->(:X)");
287
+ for path in PATHS {
288
+ let mut counts: Vec<i64> = run_on(
289
+ &db.service,
290
+ path,
291
+ "MATCH (u:U)-[:T]->(x) WITH u, count(x) AS c RETURN c",
292
+ )
293
+ .unwrap()
294
+ .iter()
295
+ .map(|row| row["c"].as_i64().unwrap())
296
+ .collect();
297
+ counts.sort();
298
+ assert_eq!(counts, vec![1, 2], "{path:?}");
299
+
300
+ // Same entity in a nested list key groups together too.
301
+ let rows = run_on(
302
+ &db.service,
303
+ path,
304
+ "MATCH (u:U)-[:T]->(x) WITH [u] AS key, count(*) AS c RETURN count(key) AS groups",
305
+ )
306
+ .unwrap();
307
+ assert_eq!(rows[0]["groups"], json!(2), "{path:?}");
308
+ }
309
+ }
310
+
311
+ #[test]
312
+ fn relationship_identity_survives_grouping() {
313
+ for (name, prefix) in REL_PREFIXES {
314
+ assert_read(
315
+ prefix,
316
+ name,
317
+ "RETURN type(r) = 'R0' AND id(r) IS NOT NULL AND startNode(r).k = 1 \
318
+ AND endNode(r).k = 2 AS v",
319
+ json!(true),
320
+ );
321
+ assert_read(prefix, name, "MATCH (a)-[r]->(b) RETURN b.k AS v", json!(2));
322
+ assert_read(
323
+ prefix,
324
+ name,
325
+ "MATCH ()-[x:R0]->() RETURN x = r AS v",
326
+ json!(true),
327
+ );
328
+ assert_write(
329
+ prefix,
330
+ name,
331
+ "SET r.w = 8",
332
+ &[("MATCH ()-[x:R0]->() RETURN x.w AS v", json!(8))],
333
+ );
334
+ assert_write(
335
+ prefix,
336
+ name,
337
+ "DELETE r",
338
+ &[("MATCH ()-[x]->() RETURN count(x) AS v", json!(0))],
339
+ );
340
+ }
341
+ }
342
+
343
+ #[test]
344
+ fn reported_repros() {
345
+ let db = TestDb::new();
346
+ db.run("CREATE (:U {k: 1}), (:F {k: 1})");
347
+ db.run("MATCH (u:U) WITH u, count(*) AS c MATCH (f:F) CREATE (u)-[:R]->(f)");
348
+ assert_eq!(v(&db, NODES), json!(2));
349
+ assert_eq!(
350
+ v(&db, "MATCH (:U)-[:R]->(:F) RETURN count(*) AS v"),
351
+ json!(1)
352
+ );
353
+
354
+ let db = TestDb::new();
355
+ db.run("CREATE (:U {k: 1}), (:F {k: 1})");
356
+ db.run(
357
+ "MATCH (a:U) WITH collect(a) AS us MATCH (b:F) WITH us, collect(b) AS fs \
358
+ WITH us[0] AS u, fs[0] AS f CREATE (u)-[:R]->(f)",
359
+ );
360
+ assert_eq!(v(&db, NODES), json!(2));
361
+ assert_eq!(
362
+ v(&db, "MATCH (:U)-[:R]->(:F) RETURN count(*) AS v"),
363
+ json!(1)
364
+ );
365
+ }
366
+
367
+ #[test]
368
+ fn create_on_a_non_node_binding_is_an_error() {
369
+ let bindings = [
370
+ ("map", "WITH {k: 1} AS u"),
371
+ ("null", "WITH null AS u"),
372
+ ("scalar", "WITH 1 AS u"),
373
+ ("string", "WITH 'u' AS u"),
374
+ ];
375
+ let writes = [
376
+ "CREATE (u)-[:R]->(:F)",
377
+ "CREATE (:F)-[:R]->(u)",
378
+ "MERGE (u)-[:R]->(:F)",
379
+ ];
380
+ for (kind, binding) in bindings {
381
+ for write in writes {
382
+ for path in PATHS {
383
+ let db = TestDb::new();
384
+ let query = format!("{binding} {write}");
385
+ let err = run_on(&db.service, path, &query)
386
+ .expect_err(&format!("[{kind} / {path:?}] `{query}` should fail"));
387
+ assert!(
388
+ err.contains("to be bound to a node"),
389
+ "[{kind} / {path:?}] `{query}`: {err}"
390
+ );
391
+ assert_eq!(
392
+ v(&db, NODES),
393
+ json!(0),
394
+ "[{kind} / {path:?}] `{query}` must not create nodes"
395
+ );
396
+ }
397
+ }
398
+ }
399
+ }
400
+
401
+ #[test]
402
+ fn create_on_a_non_entity_binding_is_an_error_for_lone_nodes_and_relationships() {
403
+ let cases = [
404
+ ("WITH {a: 1} AS u CREATE (u)", "to be bound to a node"),
405
+ ("WITH {a: 1} AS u MERGE (u)", "to be bound to a node"),
406
+ (
407
+ "WITH 1 AS r CREATE ()-[r:R]->()",
408
+ "to be bound to a relationship",
409
+ ),
410
+ (
411
+ "WITH {a: 1} AS r MERGE ()-[r:R]->()",
412
+ "to be bound to a relationship",
413
+ ),
414
+ ];
415
+ for (query, message) in cases {
416
+ for path in PATHS {
417
+ let db = TestDb::new();
418
+ let err = run_on(&db.service, path, query)
419
+ .expect_err(&format!("[{path:?}] `{query}` should fail"));
420
+ assert!(err.contains(message), "[{path:?}] `{query}`: {err}");
421
+ assert_eq!(v(&db, NODES), json!(0), "[{path:?}] `{query}`");
422
+ }
423
+ }
424
+ }
@@ -26,6 +26,14 @@ pub enum ExecutorError {
26
26
  #[error("expected variable {var} to contain a node before expanding a relationship, but found {found}")]
27
27
  ExpectedNodeForExpand { var: String, found: String },
28
28
 
29
+ #[error("CREATE/MERGE expected variable {var} to be bound to a node, but found {found}")]
30
+ ExpectedNodeForCreate { var: String, found: String },
31
+
32
+ #[error(
33
+ "CREATE/MERGE expected variable {var} to be bound to a relationship, but found {found}"
34
+ )]
35
+ ExpectedRelationshipForCreate { var: String, found: String },
36
+
29
37
  #[error("expected a map value for properties, but found {found}")]
30
38
  ExpectedPropertyMap { found: String },
31
39