Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRfeat: allow MATCH after OPTIONAL MATCH
A MATCH may now follow an OPTIONAL MATCH without a WITH between them. The later MATCH reads the optional's variables; a row whose needed variable is null is dropped. How: CypherMainVisitor::visitSingleQuery drops the refusal.…
Memgraph#5407 · by imilinovic - Merged PRfix: keep an edge-index scan from overwriting a bound endpoint
An edge-index scan no longer replaces an expansion whose start or end node is already bound. The scan writes both endpoints, so it overwrote the bound node and the query returned rows for edges that do not touch it. How:…
Memgraph#5406 · by imilinovic - Merged PRperf(query): faster KSHORTEST search structures
Speeds up the search inside *KSHORTEST by changing the data structures it works on. Results are unchanged. How (all in KShortestPathsCursor, src/query/plan/operator.cpp): The weighted A* frontier is a heap of uint32_t indices into an entry…
Memgraph#5159 · by imilinovic - Merged PRperf(query): store KSHORTEST paths once, in a shared trie
Stores each path that *KSHORTEST finds, and each candidate path, once, in the trie the cursor already keeps for blocking. Path storage is released when the next searched row starts and after the last row. Rows and their order do not…
Memgraph#5121 · by imilinovic - Merged PRperf(query): run a constant KSHORTEST weight on the hop-count search
Stacked on #4861. Review that one first; this PR's base is feat/kshortest-weight-lambda. Runs a constant KSHORTEST weight, such as (e, n 1) or (e, n $c), on the hop-count search instead of the weighted one. With this, the filter-only…
Memgraph#5112 · by imilinovic - Merged PRfeat: order KSHORTEST paths by a user-supplied weight lambda
*KSHORTEST takes a weight lambda and returns paths in ascending (total weight, hop count) order. The lambdas read as they do for *WSHORTEST: the first is the weight, total is optional, and a second lambda is the filter. A bare *KSHORTEST…
Memgraph#4861 · by imilinovic - Merged PRfix(query): check KSHORTEST access on each arc's head, and share the expansion lambda helpers
Fixes how hop-count KSHORTEST applies label-level fine-grained access control, and shares the access check and weight-lambda binding across the shortest-path cursors. Groundwork for the KSHORTEST weight lambda (#4861). Fix. The two halves…
Memgraph#4860 · by imilinovic - Merged PRfix(query): serve only proven KSHORTEST paths under a hops limit
*KSHORTEST under USING HOPS LIMIT could serve a longer path in place of a shorter one. It now serves only paths it can prove are the next shortest. Why. Yen's algorithm picks path i from the candidates its spur searches found. When the…
Memgraph#5116 · by imilinovic - Merged PRfeat(plan_v2): elide an UNWIND whose binding nothing reads
An UNWIND whose bound variable nothing reads, over a list whose length the planner can prove, plans as a CardinalityScale: an operator that emits that many rows per input row, binding nothing and evaluating no expression. A scale of one is…
Memgraph#4349 · by imilinovic - Merged PRfeat(planner): make plan_v2 equality saturation incremental
Equality saturation in plan_v2 arms only the rules a pass could newly enable. A pass over a settled graph used to re-run every rule over every e-class, at a cost set by the size of the graph rather than by how much of it had changed. The…
Memgraph#4324 · by imilinovic - Merged PRfeat(query): add conditional CALL subqueries
Adds Cypher 25 conditional subqueries: CALL (…) { WHEN p THEN body [WHEN …]* [ELSE body] } runs, per input row, the first branch whose predicate is true. A body is a single query, or a braced query that may hold UNION or another WHEN.
Memgraph#4984 · by imilinovic - Merged PRrefactor(query): remove the unused plan JSON printer
Remove PlanToJson, its PlanToJsonVisitor and the JSON helpers that only they used. How: delete the JSON visitor and helpers from src/query/plan/pretty_print.{hpp,cpp} and drop the includes that only served them (nlohmann/json, range-v3).…
Memgraph#5023 · by imilinovic - Merged PRfix(query): fix CALL subqueries with UNION bodies
Fixes CALL subqueries whose body uses UNION or UNION ALL, and the write barrier after a CALL. What A CALL body without RETURN that contains UNION removed every row of the enclosing query: UNWIND [1, 2] AS i CALL (i) { CREATE (:A) UNION ALL…
Memgraph#4983 · by imilinovic - Merged PRfeat(query): support label expressions in patterns and expressions
A node pattern and an expression both take a label expression built from &, , !, % and parentheses, so MATCH (n:Person&Employee) selects the nodes the colon chain selects. Parentheses bind first, then !, then &, then , left-associative,…
Memgraph#4877 · by imilinovic - Merged PRtest: commit the cleanup transaction in the delta-count e2e fixture
What. Fixes a flake in the Observe current amount of deltas e2e workload: the setup of the next test fails with assert 1 == 0 on unreleased_delta_objects. How. The autocommit-off connection fixture in…
Memgraph#4990 · by imilinovic