presto-main/src/main/java/io/prestosql/operator/TableFinishOperator.java/TableFinishOperator/finish
class TableFinishOperator:    @Override
    public void finish()
    {
        OperationTimer timer = new OperationTimer(statisticsCpuTimerEnabled);
        statisticsAggregationOperator.finish();
        timer.end(statisticsTiming);

        if (state == State.RUNNING) {
            state = State.FINISHING;
        }
    }