Skip to content

Commit 4b084cf

Browse files
committed
Fix a bug in NodesFilter.filterNodeProperties
- the wrong id map was used to build the NodeProperties
1 parent 0439bbe commit 4b084cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subgraph-filtering/src/main/java/org/neo4j/gds/beta/filter/NodesFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private static NodePropertyStore createNodePropertyStore(
178178

179179
builder.putNodeProperty(
180180
propertyKey,
181-
NodeProperty.of(propertyKey, propertyState, nodePropertiesBuilder.build(filteredNodeCount, inputMapping))
181+
NodeProperty.of(propertyKey, propertyState, nodePropertiesBuilder.build(filteredNodeCount, filteredIdMap))
182182
);
183183
});
184184
progressTracker.endSubTask();

0 commit comments

Comments
 (0)