return new LocalQueryRunner(metadataManager, splitManager, dataStreamManager, createMockLocalStorageManager(), recordSinkManager, session, executor);
}
private static void addSystem(InMemoryNodeManager nodeManager, MetadataManager metadataManager, SplitManager splitManager, DataStreamManager dataStreamManager)
{
SystemTablesMetadata systemTablesMetadata = new SystemTablesMetadata();
metadataManager.addInternalSchemaMetadata(MetadataManager.INTERNAL_CONNECTOR_ID, systemTablesMetadata);
SystemSplitManager systemSplitManager = new SystemSplitManager(nodeManager);
splitManager.addConnectorSplitManager(systemSplitManager);