ConnectorSession session = new ConnectorSession("user", "source", "catalog", "schema", UTC_KEY, Locale.ENGLISH, "address", "agent");
DriverContext driverContext = new TaskContext(new TaskId("query", "stage", "task"), executor, session)
.addPipelineContext(true, true)
.addDriverContext();
return operatorFactory.createOperator(driverContext);
}
private List<Page> waitForPages(Operator operator, int expectedPageCount)
throws InterruptedException
{