presto-main/src/main/java/io/prestosql/execution/DataDefinitionExecution.java/DataDefinitionExecution/getEndTime
class DataDefinitionExecution:    @Override
    public Optional<DateTime> getEndTime()
    {
        return stateMachine.getEndTime();
    }