Skip to content

Commit dbd670c

Browse files
authored
Add Memgraph v3.10 updates (#1562)
1 parent 63c38e2 commit dbd670c

54 files changed

Lines changed: 5254 additions & 1009 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ pnpm-lock.yaml
88
# misc
99
.DS_Store
1010
.vercel
11+
12+
.claude/
13+
CLAUDE.md
14+
.release-tracking/

pages/advanced-algorithms/available-algorithms.mdx

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ If you want to know more and learn how this affects you, read our [announcement]
7474

7575
| Algorithms | Lang | Description |
7676
|---------------------------------------------------------------------------------------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
77+
| [gnn](/advanced-algorithms/available-algorithms/gnn) | Python | Export and import graph data in PyTorch Geometric (PyG) and TensorFlow GNN (TF-GNN) formats for GNN training pipelines. |
7778
| [link_prediction with GNN](/advanced-algorithms/available-algorithms/gnn_link_prediction) | Python | Module for predicting links in the graph by using graph neural networks. |
7879
| [node_classification with GNN](/advanced-algorithms/available-algorithms/gnn_node_classification) | Python | Graph neural network-based node classification module |
7980
| [node2vec](/advanced-algorithms/available-algorithms/node2vec) | Python | An algorithm for calculating node embeddings on static graph. |
@@ -131,7 +132,34 @@ If you want to know more and learn how this affects you, read our [announcement]
131132

132133
## APOC mappings
133134

134-
This table shows the mapping between APOC functions/procedures and their Memgraph equivalents. Use these mappings if you're familiar with Neo4j's APOC library.
135+
When switching from Neo4j to Memgraph, application code that calls `apoc.*` or `gds.*`
136+
procedures and functions would otherwise break, since Memgraph exposes the same
137+
functionality under different names. The aliases below serve as a drop-in replacement for
138+
those APOC and GDS calls, so you can migrate without changing your application code.
139+
140+
This table shows the mapping between APOC functions/procedures and their Memgraph equivalents.
141+
Use these mappings if you're familiar with Neo4j's APOC library.
142+
143+
### Inspecting configured mappings
144+
145+
Memgraph loads callable aliases from the JSON file pointed to by the
146+
[`--query-callable-mappings-path`](/database-management/configuration) flag.
147+
To list every alias currently registered (including any custom mappings you
148+
add to that file), run:
149+
150+
```cypher
151+
SHOW QUERY CALLABLE MAPPINGS;
152+
```
153+
154+
The query returns three columns:
155+
156+
- `alias_name: string` ➡ The name clients call (for example, `apoc.version`).
157+
- `source_name: string` ➡ The underlying Memgraph procedure or function the
158+
alias resolves to (for example, `mgps.version`).
159+
- `type: string` ➡ Either `procedure`, `function`, or `unknown` if the source
160+
cannot be resolved.
161+
162+
Running `SHOW QUERY CALLABLE MAPPINGS` requires the `CONFIG` privilege.
135163

136164
| APOC | Description | Memgraph equivalent |
137165
|-------------------------|-------------|---------------------|
@@ -157,6 +185,8 @@ This table shows the mapping between APOC functions/procedures and their Memgrap
157185
| apoc.map.removeKeys | Removes specified keys from a map | [map.remove_keys()](/advanced-algorithms/available-algorithms/map#remove_keys) |
158186
| apoc.map.merge | Merges multiple maps into one | [map.merge()](/advanced-algorithms/available-algorithms/map#merge) |
159187
| apoc.map.fromLists | Creates a map from two lists (keys and values) | [map.from_lists()](/advanced-algorithms/available-algorithms/map#from_lists) |
188+
| apoc.meta.nodeTypeProperties | Returns schema information about nodes and their properties | [schema.node_type_properties()](/querying/schema#node_type_properties) |
189+
| apoc.meta.relTypeProperties | Returns schema information about relationships and their properties | [schema.rel_type_properties()](/querying/schema#rel_type_properties) |
160190
| apoc.refactor.from | Redirects relationship to use a new start node | [refactor.from()](/advanced-algorithms/available-algorithms/refactor#from) |
161191
| apoc.refactor.to | Redirects relationship to use a new end node | [refactor.to()](/advanced-algorithms/available-algorithms/refactor#to) |
162192
| apoc.refactor.rename.label | Renames a label from old to new for all nodes | [refactor.rename_label()](/advanced-algorithms/available-algorithms/refactor#rename_label) |
@@ -180,3 +210,5 @@ This table shows the mapping between APOC functions/procedures and their Memgrap
180210
| apoc.text.regReplace | Replaces substrings matching regex with replacement | [text.regReplace()](/advanced-algorithms/available-algorithms/text#regreplace) |
181211
| apoc.util.md5 | Gets MD5 hash of concatenated string representations | [util_module.md5()](/advanced-algorithms/available-algorithms/util_module#md5) |
182212
| apoc.util.validatePredicate | Raises exception if predicate yields true with parameter interpolation | [mgps.validate_predicate()](/advanced-algorithms/available-algorithms/mgps#validate_predicate) |
213+
| db.awaitIndexes | No-op compatibility shim for clients that wait for index creation (e.g. the Neo4j Spark connector) | [mgps.await_indexes()](/advanced-algorithms/available-algorithms/mgps#await_indexes) |
214+
| apoc.version | Returns the Memgraph server version string | [mgps.version()](/advanced-algorithms/available-algorithms/mgps#version) |

pages/advanced-algorithms/available-algorithms/_meta.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default {
2121
"elasticsearch_synchronization": "elasticsearch_synchronization",
2222
"embeddings": "embeddings",
2323
"export_util": "export_util",
24+
"gnn": "gnn",
2425
"gnn_link_prediction": "gnn_link_prediction",
2526
"gnn_node_classification": "gnn_node_classification",
2627
"graph_analyzer": "graph_analyzer",

0 commit comments

Comments
 (0)