presto-main/src/main/java/io/prestosql/dispatcher/FailedDispatchQuery.java/FailedDispatchQuery/getEndTime
class FailedDispatchQuery:    @Override
    public Optional<DateTime> getEndTime()
    {
        return Optional.ofNullable(basicQueryInfo.getQueryStats().getEndTime());
    }