Skip to content

Commit b3a39cd

Browse files
committed
Fix paramters for batchImporter
1 parent 7ee76c2 commit b3a39cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

io/core/src/main/java/org/neo4j/gds/core/io/db/GdsParallelBatchImporter.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.neo4j.batchimport.api.Monitor;
2525
import org.neo4j.batchimport.api.input.Collector;
2626
import org.neo4j.batchimport.api.input.Input;
27+
import org.neo4j.common.EmptyDependencyResolver;
2728
import org.neo4j.configuration.GraphDatabaseSettings;
2829
import org.neo4j.dbms.api.DatabaseManagementService;
2930
import org.neo4j.gds.RelationshipType;
@@ -258,6 +259,7 @@ private BatchImporter instantiateBatchImporter(
258259
progressOutput,
259260
verboseProgressOutput,
260261
DefaultAdditionalIds.EMPTY,
262+
new LogTailMetadataFactoryImpl(this.fileSystem),
261263
this.databaseConfig,
262264
this.executionMonitor,
263265
jobScheduler,
@@ -266,9 +268,9 @@ private BatchImporter instantiateBatchImporter(
266268
new IndexImporterFactoryImpl(),
267269
EmptyMemoryTracker.INSTANCE,
268270
CursorContextFactory.NULL_CONTEXT_FACTORY,
271+
indexProvidersAccess,
269272
1,
270-
new LogTailMetadataFactoryImpl(this.fileSystem),
271-
indexProvidersAccess
273+
EmptyDependencyResolver.EMPTY_RESOLVER
272274
);
273275
}
274276

0 commit comments

Comments
 (0)