OperatorContext operatorContext = new TaskContext(new TaskId("query", "stage", "task"), executor, session)
.addPipelineContext(true, true)
.addDriverContext()
.addOperatorContext(0, "OptimizeEncodings");
AlignmentOperator source = new AlignmentOperator(operatorContext, sources);
importData(source, targetFileHandle);
}
targetFileHandle.commit();