Skip to content

Commit 184d5c5

Browse files
committed
Always say that we have properties and labels in CAgg
1 parent b0b12e5 commit 184d5c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cypher-aggregation/src/main/java/org/neo4j/gds/projection/GraphAggregator.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,7 @@ private static LazyIdMapBuilder idMapBuilder(
417417
@Nullable MapValue targetNodeProperties,
418418
int readConcurrency
419419
) {
420-
boolean hasLabelInformation = !(sourceNodeLabels.isMissing() && targetNodeLabels.isMissing());
421-
boolean hasProperties = !(sourceNodeProperties == null && targetNodeProperties == null);
422-
return new LazyIdMapBuilder(readConcurrency, hasLabelInformation, hasProperties);
420+
return new LazyIdMapBuilder(readConcurrency, true, true);
423421
}
424422

425423
private static @Nullable List<RelationshipPropertySchema> relationshipPropertySchemas(AnyValue relationshipConfigValue) {

0 commit comments

Comments
 (0)