PlanNodeId sourceId = new PlanNodeId("source");
final List<Type> types = ImmutableList.<Type>of(VARCHAR, BIGINT, BIGINT);
// create a table scan operator that does not block, which will cause the driver loop to busy wait
TableScanOperator source = new NotBlockedTableScanOperator(driverContext.addOperatorContext(99, "values"),
sourceId,
new DataStreamProvider()
{
@Override
public Operator createNewDataStream(OperatorContext operatorContext, Split split, List<ColumnHandle> columns)
{
return new ValuesOperator(driverContext.addOperatorContext(0, "values"), types, rowPagesBuilder(types)