Skip to content

Commit 1eb87d4

Browse files
authored
Merge pull request #4539 from DarthMax/1.8-fix_property_building_in_nodes_filter
1.8 - Fix property building in nodes filter
2 parents 2175c62 + 544ef99 commit 1eb87d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static Map<NodeLabel, NodePropertyStore> filterNodeProperties(
141141

142142
private static NodePropertyStore createNodePropertyStore(
143143
GraphStore inputGraphStore,
144-
IdMapping filteredNodeMapping,
144+
NodeMapping filteredNodeMapping,
145145
NodeLabel nodeLabel,
146146
Collection<String> propertyKeys,
147147
int concurrency,
@@ -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, filteredNodeMapping))
182182
);
183183
});
184184
progressTracker.endSubTask();

0 commit comments

Comments
 (0)