ColumnMetadata columnMetadata = new TpchMetadata().getColumnMetadata(tableHandle, columnHandle);
DelimitedRecordSet records = new DelimitedRecordSet(newReaderSupplier(inputSupplier, UTF_8), Splitter.on("|"), columnMetadata);
Session session = new Session("user", "source", "catalog", "schema", "address", "agent");
OperatorContext operatorContext = new TaskContext(new TaskId("query", "stage", "task"), executor, session)
.addPipelineContext(true, true)
.addDriverContext()
.addOperatorContext(0, "tpch-generate");
RecordProjectOperator source = new RecordProjectOperator(operatorContext, records);