We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68382f3 commit 5b3a3d9Copy full SHA for 5b3a3d9
proc/common/src/main/java/org/neo4j/gds/TransactionAlgorithmMetaDataSetter.java
@@ -37,9 +37,14 @@ public <CONFIG extends BaseConfig> void set(CONFIG algoConfig) {
37
if (kernelTransaction == null) {
38
return;
39
}
40
- var metaData = kernelTransaction.getMetaData();
41
- if (metaData instanceof AlgorithmMetaData) {
42
- ((AlgorithmMetaData) metaData).set(algoConfig);
+
+ try {
+ var metaData = kernelTransaction.getMetaData();
43
+ if (metaData instanceof AlgorithmMetaData) {
44
+ ((AlgorithmMetaData) metaData).set(algoConfig);
45
+ }
46
+ } catch (UnsupportedOperationException ignored) {
47
+ // Cypher Parallel Runtime does not support `kernelTransaction.getMetaData()` => we ignore it
48
49
50
0 commit comments